
Zapier
Weâre back with another automation platform to help you get your work done with interakt like a pro!
This time around, weâre covering Zapier. Weâll be getting into the nitty-gritty details of how you can use Zapier to integrate your interakt account with various CRMs and popular web applications.
Before we dive in, let me give you a quick overview of Zapier.
Zapier is a popular integration platform where multiple apps can be connected to automate workflows. Zapier lets you build connections to move data from one app to another with the help of triggers and actions. Zap is nothing but the name given to a connection that is made up of a single trigger and action.
Zapier connects over 3000 apps, most of which you use every day! There is no doubt that finding the fix to connect Zapier to your interakt account will help you build smarter workflows.
Here’s why syncing your interakt account with Zapier is of paramount importance
â˘Â You will get the full picture about your user and have more context while chatting with them on interakt
â˘Â This will aid you in setting up automated WhatsApp notifications via interakt
Not convinced yet?
No problem, let me help you understand this better with a few uses cases that you may relate to:
1. Whenever a new contact is added in your CRM (like Salesforce, Freshdesk, LeadSquared, Zoho etc), or when a new user signs up on your online store (like Shopify, Magento, WooCommerce etc) they will be automatically added to your interakt account if youâve connected Zapier to interakt.
2. Or say you have made an update to an existing userâs details – it could be a change in any attribute of that contact (like Name / Email id / Lead Status etc) on your CRM. Connecting interakt with Zapier will have this update reflected automatically in your interakt account.
3. Last one – integrating Zapier to your interakt account will also help you create events automatically for users whenever you enter an activity related to that contact (like a call / meeting / deal) on your CRM, or whenever that user takes an action on your online store (like selecting products, abandoning carts, placing an order, making payment).
There you have it! Weâve made our case. Letâs get down to business now.
â
Automate workflows on interakt with Zapier
Weâre breaking this down into simple steps to help you use Zapier to automate workflows between your CRMs and interakt:
â
â˘Â Getting Started with Zapier
â˘Â Creating a Trigger
â˘Â Creating an Action
â˘Â Testing the Connection
â˘Â Setting the Connection Live
â˘Â Sending an Automatic WhatsApp Notification via interakt
Getting Started with Zapier:
You can create a free account on Zapier, or choose any of their paid plans, starting from $20 per month. In a free account, you will get 100 tasks, while the $20 plan will give you 750 tasks per month. Since our method below makes use of a premium app âWebhooks by Zapierâ, you would necessarily have to purchase a paid plan on Zapier to use the premium app.
So what would count as a Task on Zapier?
A single lead that gets added in your CRM will in turn get added automatically on interakt and this would be counted as 1 task.
You also have the option to explore Integromat for connecting your CRM and softwares with interakt. Integromat provides a $9 plan in which you may get to use the equivalent of 5000 Zapier tasks.
Hereâs the flow you need to follow on Zapier:
1. You need to specify a Trigger that will take place in your Software. Zapier will look out for that Trigger.
2. Whenever the trigger happens, Zapier will execute an Action via âWebhooks by Zapierâ. The Action would be an API call to interaktâs API endpoint.
Letâs understand this better:
â˘Â Creating a Trigger – The Trigger steps will vary depending on the software you have chosen.
⢠Creating an Action – The Action steps will be uniform. While specifying the JSON Request Data of the API call, you will be required to select the particular fields (from the software with which you are integrating) whose values need to be mapped to the parameters in the API call. You will have to take care to select the right fields. We have shown the fields you should select while integrating with Zoho.
Creating a Trigger
1. In your Zapier account, click on âCreate Zapâ.
2. For the Trigger event, choose the app where the trigger event will occur.
3. For Trigger Event:
–Â In the case of Zoho CRM, choose the Trigger Event as âNew/Updated Module Entryââ – later you can select a particular Module (like Contacts, Calls) within which the event will be watched.
â˘Â Select Module as Contacts if you want contact details (added on Zoho) to get automatically added to interakt
â˘Â Select Module as Calls if you want user call activity to get automatically added for that user on interakt as an event
–Â In the case of Shopify, examples of Trigger Events which can be selected are:
â˘Â âNew Customersâ – if you want to send details of a new customer to interakt
â˘Â âNew Orderâ – if you want to send details of a new order placement to interakt
â˘Â âNew Abandoned Cartâ – if you want to send details of an abandoned check out event to interakt
4. Next, you will need to connect your Zoho CRM / Shopify account with Zapier.
5. After your account has been connected, you might need to select a module from your CRM / store wherein the Trigger will be watched (For example – in the case of Zoho, the selected âModuleâ could be âContactsâ).
6. Zapier will then try to test the trigger. It will search for:
â˘Â A recent entry in the selected module in your CRM Zoho, or,
â˘Â It will try to find a recent customer / order / cart abandonment instance on your online store Shopify
Creating an Action
1. Once the trigger is tested successfully, click on âContinueâ. For the âAction eventâ, select the app named âWebhooks by Zapierâ.
2. In âAction Eventâ, choose âCustom Requestâ.
3. In âMethodâ – choose Post
4. In the âURLâ:
â˘Â If you are looking to add users (added in your CRM / software) to interakt, you can use: https://api.interakt.ai/v1/public/track/users/
â˘Â If you are looking to add events for a particular user (added in your CRM / software) to interakt, you can use: https://api.interakt.ai/v1/public/track/events/
5. âRequest Dataâ section:
a. If you are adding a user:
{“userId”: “X”,
“phoneNumber”: “Y”,
“countryCode”: “Z”,
“traits”: {
“name”: “A”,
“email”: “B”
}
}
â˘Â X, Y, Z, A, B are all fields in Zoho / other softwares, whose value will be taken as the value for the parameters in the API call ie âuserIdâ, âphoneNumberâ, âcountryCodeâ, ânameâ, âemailâ.
â˘Â You may choose the fields (X, Y, Z, A, B) as per your use case.
â˘Â Specifying either of âuserIdâ or (âphoneNumberâ & âcountryCodeâ) is mandatory.
â˘Â We strongly recommend specifying the âuserIdâ since the same can be referenced if you want to add an event for the same user.
â˘Â You can add as many traits as required and map the trait values to corresponding fields in your software (shown below for Zoho).
b. If you are adding an event.
{“userId”: “X”
“event”: “call made”,
“traits”: {
“startime”: “S”
}
}
â˘Â Make sure X = the field which you mapped against the parameter ââuserIdââ when you added this user to interakt (via triggering of the zap for adding the user)
â˘Â You can name the âeventâ as you wish. Here the âeventâ name is given as âcall madeâ.
â˘Â You can give as many traits for the event as you wish. Here we have specified one trait âstartimeâ which is mapped to S i.e. the âCall Start Timeâ field in Zoho.
6. In âUnflattenâ, choose No.
7. In âBasic Authâ, use the Base64 decoded version of the API key given in your accountâs Developer Settings (remove the â:â at the end of the Base 64 decoded version and add a â|â there)
8. In âHeadersâ, provide âContent-Typeâ as âapplication/jsonâ
9. Then click on Continue.
Testing the Connection
10. So weâre almost there – before you take it live, you need to first test if the above connection works or not. For this, you could:
â˘Â Add a new user in your CRM / get a new user to sign up on your store (for example: here we show what happens when a new contact is created in the Contacts Module of Zoho)
OR
â˘Â Add a new action for the user in your CRM / get the user to take an action on your store (for example: here we show what happens when we add a new Call for the contact that we created in Zoho in the previous step)
â˘Â Then click on âTest & Continueâ on Zapier.
â˘Â Now, you will know that the Zap has worked if either of the below response messages are displayed:
–Â âCustomer with <id> updated successfullyâ (if you are looking to add / update a user)
–Â âEvent created successfullyâ (if you are looking to add an event)
â˘Â You could also check the result on your interakt account:
–Â Refresh the âUsersâ page to see if the new user got added there or not.
To check whether modification of the contact in your CRM / store translates into the contact being modified on interakt, this is what you need to do:
â˘Â Modify one of the field values of the contact you added (the field should have been used in the âRequest Dataâ above)
â˘Â Again, test the Zap in Zapier
â˘Â Check if the modules get executed.
â˘Â Go to your interakt accountâs user page to check if the contact details got updated there
â
Setting the Connection Live
Itâs time now to set the above connections live. On the bottom of your screen, you might notice a âReady to turn your zap on?â pop up. Just switch it to On and the Zap will be set live.
â
Sending an Automatic Notification on interakt
With your connection going live, you can now send WhatsApp Notifications via interakt for the below cases:
â˘Â When a new user is added to your interakt account from your CRM / store, or,
â˘Â When an event is received in interakt for a user from your CRM / store,
For this, you will need to set up an Ongoing Notification with the correct filter conditions. Setting up ongoing notifications on interakt can be done in just a few steps
Get set and ready to roll with connections on Zapier. Connect your apps to interakt via Zapier and work smarter with automated workflows. Weâre here to assist you every step of the way.
If you face any issues in integrating any of your softwares to interakt via Zapier, just ping us on our WhatsApp support number!