To set up an automation in Customer.io that sends an email when a user's record is updated, follow these steps:
Create a segment to group users based on the attributes needed in order to trigger the email. In this example we will send an email when a new customer is created and the step
attribute equals thank-you
.
step
equals thank-you
.Now, create a campaign that triggers when a user enters the "Step - Thank You" segment:
4. Design the Email Workflow
Within the campaign, set up the email to be sent:
In the workflow builder, add an Email action.
Compose the email content, utilizing Liquid tags to personalize the message with user attributes. For example, use {{customer.first_name}}
to insert the user's first name.
Set the email's sending behavior to Send Automatically to ensure it sends immediately when the user enters the segment.
5. Activate the Campaign
After configuring the workflow: