Webhook to Action
Webhook actions allow you to invoke a single HTTP POST request. The service that's called should support webhooks and know how to use the payload it receives.
Step 1: Create Web Action
Login on API Online Live Support dashboard
1.1. Click on "Webhook To Actions"
1.2. Create New Web Action
1.3. Enter the name of the web action
Step 2: Test your webhook
2.1. Click on Get Live webhook
2.2 Copy the link
2.3 Put your webhook link to the provider where you are expecting to received the data
Example: Below is the shopify webhook event has created with the use case where if somoene signup on Shopify, customer to get the welcome message via WhatsApp
2.4 Put your webhook link to the provider where you are expecting to received the data
2.5. Click on "Check Now" to confirm the testing
2.6. You may be able to see the payload on your webhook endpoint
Step 3: Create Actions
3.1. Click on Get Actions
3.2 Send Message alert to
3.2.1 To Customer (To send Message alert to Customer)
3.2.1.1. Create Action -> Enter Action name --> click on "Create Now"
3.2.1.2. Click on Settings --> Update Format
3.2.1.3. Enter your message and other details as shown in below image, make sure to put %% before and end of variable
Important Note: Once you have done the above, do not forget to get the "Get Unique Webhook URL" from Step 4
3.2.2. To Admin (Send Message to Admin)
3.2.2.1 Create Action -> Enter Action name --> click on "Create Now"
3.2.2.2 Click on Settings --> Update Format
3.2.1.3. Enter your message and other details as shown in below image, make sure to put %% before and end of variable
Important Note: Once you have done the above, do not forget to get the "Get Unique Webhook URL" from Step 4
Step 4: Get your Unique webhook URL
4.1 Click on "Webhook To Actions" tab --> Get Code
4.2 Select your Instance & Copy the unique webhook Link
Note: The above unique webhook URL you can use it for third party integration to receive payload and trigger WhatsApp message.
Last updated