How to Integrate KIRIM.EMAIL Automation 2.0 with Other Platforms for Cart Abandonment

Last modified: January 20, 2023
Estimated reading time: 1 min

In general, it only takes 2 steps to integrate our Automation 2.0 with other platforms, which include:

  1. Create the automation workflow on the app, and
  2. Send a request to the server.

Creating the Automation Workflow On The App

First of all, please create an automation workflow in the app according to your needs. And here are some things to note, including:

  1. On the New Automation menu, select Custom Workflow to create the automation workflow from scratch.



  2. For the first trigger, please select External Trigger.



  3. After that, fill in all the available fields, including : 
    • Name : Your automation name/title.
    • Target List : List that’ll be used to store data.
    • Subscribe Field : Fields that’ll be used to send data. The Email field must be included.
    • Action (Opsional) : Fill in the action you want to perform.
      Notes: You can use the External triggers for several functions. One of them is to check whether an order has been paid for or not.
      For the implementation, you can fill in the Action field according to the function that’ll be run on your platform.
      For instance:
      • action cart, to run the automation when the user checkout a product or something.
      • action completed, to run the automation when the buyer has completed the payment.
        These actions are defined by your platform. So you can leave this field blank if it’s not needed.
    • Next, copy the code provided in the How to Use section that’ll be used to send requests to the server. 
    • Click Save button.



  4. Create a node/workflow according to your needs.




  5. Click on the Save and Run button in the upper right corner of the page.
  6. Then, continue to send a request to the server

Sending A Request to The Server

Lastly, please send a request to the server by giving the code you’ve copied to the Developer Team in order to implement the automation into your platform.

An example of the code is like this:

curl --location --request POST 'https://aplikasi.kirim.email/automation' \
--user 'automation:4yvlYTwZ3cFQsU9AGIkTufAxqmE4vOAp' \
--form 'action:Cart' \
--form 'email="EXAMPLE_DATA"' \
--form 'full_name="EXAMPLE_DATA"' \
--form 'your_message="EXAMPLE_DATA"' \
The code you get may be different from this example. It depends on the automation store the system provides, the fields you use, and also the action.

Finished.

Was this article helpful?
Dislike 0 0 of 0 found this article helpful.
Views: 86

Continue reading

Previous: How to Automate Tagging via API
Next: [Studi Kasus] Menambahkan Tag Berdasarkan Provider Email (Gmail X Non Gmail)