While you can use our Make integration to connect WhatsApp with other apps, you may also want to link your 2Chat flows directly to Make. This allows you to trigger integrations and access thousands of apps on the platform, leveraging dynamic data to enhance your workflows.
How to create the scenario in Make
In Make you must create a new Scenario, add a Custom Webhook component as the trigger.
Click on Add to generate the webhook URL
Click to copy the address to clipboard, this is the URL we will use in 2Chat
How to send data to a Make webhook from 2Chat
In 2Chat you have to create a new flow and after the trigger, you can use some Message and Wait for Reply components to ask the customer for any information to send to Zapier
In this example, we will ask for the name and email
The last part is to add an HTTP Request component to send the data to Zapier.
Add the following data:
Request type: POST
Request URL: The API or webhook URL
Body: We will send the data to Zapier in JSON format. You can click on the button to add dynamic data, including the variables asked in the previous steps.
Now you'll need to publish the 2Chat Flow to test the integration.
Testing the integration and using the data
You must go to Make to run the scenario and click and you will see the requests received in the webhook.
Now you can use the data sent as a parameter in other Make integrations.