Open in Hub v
The official Loops integration allows your bot to send emails to your customers via Loops.
Setup
Step 1: Install the integration in Botpress
First, install the integration in Botpress:
In Botpress Studio, select Explore Hub in the upper-right corner.
Search for the Loops integration, then select Install Integration .
In the Configuration menu, you should see two fields: API Key and Webhook Signing Secret . Leave these blank for now—you’ll come back to them after configuring the integration in Loops.
Next, configure your Botpress webhook in Loops:
Log in to your Loops account.
Go to Settings > Webhook .
Paste your integration’s webhook URL into the Endpoint URL field, then select Update URL .
Copy the generated Signing Secret .
Paste it into the integration’s Webhook Signing Secret field in Botpress.
Step 3: Create a Loops API key
Then, create your Loops API key:
In your Loops account, go to Settings > API .
Copy the generated key, then paste it into the integration’s API Key field in Botpress.
Your Loops integration is ready. You can use the integration’s Cards and Triggers to interact with your customer emails.
Cards
Here’s a reference for all Cards available with the integration:
Send Transactional Email
Show array item properties
Show array item properties
Triggers
Here’s a reference for all Triggers available with the integration:
You can access data returned from any of these Triggers by reading event.payload after the Trigger fires.
Email Clicked
Available options: campaign, loop
Email Delivered
Available options: campaign, loop, transactional
Email Hard Bounced
Available options: campaign, loop, transactional
Email Opened
Available options: campaign, loop
Email Soft Bounced
Available options: campaign, loop, transactional
Email Spam Reported
Available options: campaign, loop, transactional
Email Unsubscribed
Available options: campaign, loop