How to add my Chatbot subscribers to my MMIO Email sequence?
Introduction:
Integrating your chatbot with an email marketing platform like MMIO Email Flow is an excellent way to build and nurture relationships with your subscribers. By connecting the two systems, you can seamlessly collect valuable user information through your chatbot and automatically send it to your email marketing platform for further engagement. In this guide, we will walk you through the process of connecting your chatbot to MMIO Email Flow.
Benefits and Use-cases:
Automate email campaigns: Integrating your chatbot with an email marketing platform allows you to automatically send targeted email campaigns to your subscribers based on their interactions with your chatbot.
Personalized communication: Collecting user information through your chatbot enables you to send personalized emails, improving engagement and conversion rates.
Simplify data collection: By utilizing chatbot custom variables, you can easily capture and store user data without the need for manual input.
Directions:
Navigate to the Email Marketing platform and select "Email Flow Builder."
Click the "Show Webhook URL" button to reveal your Email Flow's Webhook URL.
Copy the Webhook URL for use in your Chatbot Flow.
Within your Chatbot Flow, create a setup similar to the one described below.
First, capture your chatbot subscriber's email address and store it as a "custom variable." Next, use the HTTP request element to send the subscriber's data to your MMIO Email flow.
Configure the HTTP request element as follows:
Request Type: POST
Request URL: Paste the copied Email Flow Webhook URL
Request Body: Include the JSON code below, replacing the placeholder values with the corresponding data from your chatbot:
{
"email": "{{email}}", //<-- use any custom variable here
"first_name": "{{first_name}}", //<-- use any custom variable here
"last_name": "{{last_name}}", //<-- use any custom variable here
"params": {
"subscribe_id": "{{subscribe_id}}",
"subscribed_at": "{{subscribed_at}}",
"timezone": "{{timezone}}",
"locale": "{{locale}}",
"gender": "{{gender}}"
}
}
Note that the "email" field is required for the request body.
Provide the following fields within the JSON code:
"email": (Required) The subscriber's email address
"first_name": The subscriber's first name
"last_name": The subscriber's last name
"full_name": The subscriber's full name (Only add this field if both the 'first_name' and 'last_name' fields are not used)
"phone_number": The subscriber's phone number
"subscriber_id" or "psid": The chatbot channel ID of the subscriber
"params": A JSON object containing key-value pairs for additional subscriber data. Ensure the values are either strings or numbers.
To utilize data from the "params" field in your emails, use the {{your_params_key}} syntax.
For example, if you have a "order_date_param" field under "params," use {{order_date_param}} in your email, and it will be replaced with the value of the "order_date_param" key.
Summary:
Integrating your chatbot with MMIO Email Flow is an efficient way to automate email campaigns, personalize communication, and simplify data collection. By following the steps outlined above, you can easily connect your chatbot to your email marketing platform and leverage the power of both tools to engage and nurture your subscribers.