My team is seeking a low-code workflow to integrate Xendit (comparable to Stripe in Indonesia) and Mailchimp to have each completed order trigger an email notification. Currently, our website has a Xendit link for each product.
I have been looking at this Mailchimp trigger new order page, but I’m new to the community and would love to have some guidance/ references to speed up our integration process.
I understand you want to integrate Xendit and Mailchimp to send email notifications for each completed order. Since you’ve already found the Mailchimp New Order trigger, let’s start by setting up the trigger in a Pipedream workflow:
Create a new workflow in Pipedream.
Search for the Mailchimp app from the trigger menu.
Select the New Order trigger.
Connect your Mailchimp account.
Configure the required fields (Store Id, Campaign ID, and Has Outreach?).
Follow the instructions on the trigger configuration screen. You may need to generate a test event from Mailchimp to get real data to test your workflow.
Now, to integrate Xendit, you’ll need to make an API request using the @pipedream/platform package. Here’s an example of how to make a request to the Xendit API:
You’ll need to replace the url prop with the specific Xendit API endpoint you want to call. You can find the available API endpoints in the Xendit API documentation.
Once you have the Xendit data, you can use the Email app to send an email notification. Add an action to your workflow:
Search for the Email app from the step menu.
Select the “Send Yourself an Email” action.
Connect your Email account.
Configure the required fields (Subject and Text) using the data from the Xendit API response.
This should give you a basic workflow to integrate Xendit and Mailchimp for sending email notifications on completed orders. You might need to modify the code and configuration based on your specific use case.
I’m a bot powered by Pipedream and GPT-4. I’m still learning, so please double check my answers and code! Learn how to build your own.