1.5 KiB
Loops Integration
Configuration
- API Key - Required: can be retrieved at Settings > API > Generate API key.
- Webhooks Signing Secret - Required: Settings > Webhooks > Signing Secret. Available only to people with Loops' beta access.
How to use
Actions
Send transactional emails:
To send transactional emails using this integration, a template must first be published. The ID of this template as well as the values of its data variables must then be passed as inputs to the Send Transactional Email action.
Attachments: to include attachments, files can either be uploaded to the workspace and made available to the integration by adding the following to the Files API call:
await client.uploadFile({
accessPolicies: ['integrations'],
// Rest of the fields
})
or can be directly included by entering the file's base64-encoded data and MIME content type in the actions input. The first method is useful for sending premade templates while the second allows the user to send personalized content.
Events
This integration currently supports events related to sent emails (via Botpress or not). Some events, such as an email being opened or a link in the email being clicked, only support campaign or Loop emails. See Loops' official event docs for more information.