top of page

Tutorial: Connecting Powerpop.ai to Samba.ai for Email Confirmation

  • Writer: David Vyskocil
    David Vyskocil
  • Jun 9, 2025
  • 2 min read

Let’s walk through how to automatically send a confirmation email via Samba.ai immediately after a visitor submits their email through Powerpop.ai.


Set Up the API Trigger in Samba.ai

Before connecting Powerpop to Samba.ai, you need to prepare your API trigger in Samba:


  1. Create a new API Trigger in your Samba.ai account.

  2. Assign the correct email template that will be sent to users.

  3. Note the exact name of the API trigger — you’ll need it later.

  4. (Optional) Add custom parameters or connect a coupon code pool if you want to include personalized promo codes.


Gather Required Samba.ai Credentials
  • API Key – Request it from the Samba.ai support team.

  • Account ID – This is visible in the Samba.ai dashboard URL or can also be provided by the support team.

  • API Trigger Name – This must match exactly the trigger you’ve set up in Samba.


For a detailed explanation, refer to Samba.ai API Trigger documentation.


 Configure Powerpop.ai to Call the Samba.ai API

  • Open the campaign in Powerpop.ai where you want to connect this action.

powerpop workflow
  • Go to the Workflow Designer. In the appropriate stage (e.g., “Successful Conversion” after email signup), click Add Action → choose “Call External API”.



All Required Parameters at a Glance:

Use Powerpop placeholder {{indentify.email}} to dynamically insert visitor's email address.

headers

{ "X-Api-Key": "NwyaLvo4USpN4icXt2JhLhNfFtVZvUQh" }

JSON object with "X-Api-Key":"yourAPIKey"

method

POST

use POST

url

https://api.samba.ai/shop/XXXXX/send-trigger-mail

URL, change XXXX for your Samba.ai account number

body

{"email": "{{identify.email}}", "campaignName": "API_trigger_genericAcq", "customCustomerParameters": { "parameter1name": "parameter1value", "parameter2name": "parameter2value" }}

body contains core information about: email adress campaign name - name of your API trigger Optionally list of custom parameters you want to use in your template.

Save and Reload Your Campaign

Once you’ve configured the API action:

  • Click Save & Republish in the popup editor

or

  • Toggle your campaign off and on in the campaign overview to reload it into the live Powerpop engine.


If you'd like assistance setting this up or connecting to a different system, reach out to our team—we’re happy to help you integrate Powerpop into your broader marketing automation stack.

 
 
 

Related Posts

See All
E-commerce Traits

E-commerce traits are structured data points that describe specific user behaviors or contexts in an online shopping environment. These...

 
 
 

Comments


bottom of page