How to integrate ActiveCampaign with Pingstreams
This tutorial will guide you through integrating ActiveCampaign with Pingstreams to send WhatsApp messages triggered by an automation workflow. Follow these steps:
Step 1: Create a New Bot in Pingstreams
Section titled “Step 1: Create a New Bot in Pingstreams”Log in to your Pingstreams Dashboard.
Create a new bot:
- You can either build a bot from scratch or import one using the provided template.
- Import this bot from the Pingstreams Community.
- Once the bot is set up, proceed to configure actions.
Step 2: Configure the WhatsApp Action in Pingstreams
Section titled “Step 2: Configure the WhatsApp Action in Pingstreams”Navigate to the Actions Menu within your bot settings.
Select the action Send WhatsApp from the list.
Populate the following required information:
- Phone Number ID: Obtain this ID from the Meta for Developers platform where you’ve installed your WhatsApp app. You can find it in the API Configuration section.
- WhatsApp Template: Choose any pre-approved WhatsApp template you’ve created in Meta. If you need help with creating templates, see more about templates here.
- Variables: Insert the relevant placeholders, such as the recipient’s phone number and first name, for dynamic messaging.
Step 3: Create an Automation in ActiveCampaign
Section titled “Step 3: Create an Automation in ActiveCampaign”Log in to your ActiveCampaign account.
Go to the Automation section and create a new workflow.
Select your desired Trigger and choose the Webhook option from the workflow list. This will allow ActiveCampaign to call Pingstreams when the trigger conditions are met.
Step 4: Set Up the Webhook URL in ActiveCampaign
Section titled “Step 4: Set Up the Webhook URL in ActiveCampaign”To integrate ActiveCampaign with Pingstreams, you need to generate a Webhook URL for your bot:
Use the base URL: https://api.pingstreams.com/v3/modules/pingbot/
Append the following details to complete the Webhook URL:
- Project ID: Your Pingstreams project ID.
- Chatbot ID: The ID of the chatbot you want to trigger.
- Block Name: The name of the block to activate (usually “start”).
Insert this Webhook URL into ActiveCampaign’s webhook field in your automation workflow.
Example: Complete Webhook URL
Section titled “Example: Complete Webhook URL”Suppose your:
- Project ID: 12345
- Chatbot ID: 67890
Your Webhook URL will look like this:
https://api.pingstreams.com/v3/modules/pingbot/block/12345/67890/start
With this integration, you’ve successfully linked ActiveCampaign and Pingstreams. Now, whenever the automation trigger fires in ActiveCampaign, your Pingstreams bot will send a WhatsApp message using the configured template.
If you have any questions or run into issues, feel free to reach out to the Pingstreams Community for support!