feat: add MNTN Audiences destination#3796
Conversation
|
Hi @valerie-mntn - thanks for raising the PR for a new audience destination. |
|
Hi @valerie-mntn - thanks for raising the PR for a new audience destination. I had a quick scan and noticed some big items I'd like you to address please.
Have a look at this destination: https://github.com/segmentio/action-destinations/tree/main/packages/destination-actions/src/destinations/iterable-audiences It does all 1-3 from above, and partially does 4 (Iterable doesn't actually respond with a 207, but we're still returning a multistatusResponse containing validation failures and successful requests). If you can familiarize yourself with the Iterable audiences destination code - and have a go at updating your code, then I will do a full review. If you need help ping me and we can jump on a call. best regards, |
|
Hi @joe-ayoub-segment thanks for the feedback! Made the requested changes. Let me know if anything else is needed |
|
HI @valerie-mntn , I copied your code to another branch and refactored the destination. I'm going to close this current PR. Here's the new PR: #3809 The changes include:
I tried to keep the core logic as per your original code, so I'm hoping it will make sense to you. As a next step, would you be able to run the code and check that it looks good please? You can raise changes into this branch if you like, and I'll merge them in. I'm available to jump on a call if that will be quicker. Best regards, |
|
Hi @valerie-mntn - commenting here again in case you missed my last comment. |
Adding a new Action Destination for MNTN Audiences. An integration to facilitate the sending of audiences data from Segment to MNTN. This action destination calls the MNTN Audience API with a customer-owned API key from MNTN to authenticate requests for audiences adds and audience removals.
Testing
Include any additional information about the testing you have completed to
ensure your changes behave as expected. For a speedy review, please check
any of the tasks you completed below during your testing.
Security Review
Please ensure sensitive data is properly protected in your integration.
type: 'password'New Destination Checklist
verioning-info.tsfile. example