Good to know: This plugin was developed by a third party. We do not provide support for it.
Overview
In this tutorial, you'll learn how to create an order confirmation email template and set up a workflow to keep buyers engaged. You’ll also learn which BigCommerce order data are compatible with the SendinBlue platform.
Before getting started
You will need to have the following information prior to installation and use:
- SendinBlue account credentials. If you don't have one, sign up for free.
- Make sure that SendinBlue's New Template Language for emails is enabled on your account.
- Follow these steps to install the BigCommerce plugin.
1. Create the order confirmation email template
First, log into your SendinBlue account then go to the Automation platform > Email Templates. Click on the New Template button at the top right.
The email template can be personalized with several types of data:
Personalize your email with contact attributes
Let's start by personalizing with contact attributes.
In the example below, we have included a personalization of:
- the recipient's first name using {{ contact.FIRSTNAME }}
- the recipient's last name using {{ contact.LASTNAME }}
Good to know: that FIRSTNAME and LASTNAME should already be existing attributes in your SendinBlue account.
Personalize your email with the order details
The following variables may be included directly within your SendinBlue template content:
Order data | Shipping address data | Billing address data |
{{ params.id }} | {{ params.shipping.firstname }} | {{ params.billing.firstname }} |
{{ params.date }} | {{ params.shipping.lastname }} | {{ params.billing.lastname }} |
{{ params.subtotal }} | {{ params.shipping.company }} | {{ params.billing.company }} |
{{ params.discount }} | {{ params.shipping.phone }} | {{ params.billing.phone }} |
{{ params.shipping }} | {{ params.shipping.address1 }} | {{ params.billing.address1 }} |
{{ params.total_before_tax }} | {{ params.shipping.address2 }} | {{ params.billing.address2 }} |
{{ params.tax }} | {{ params.shipping.city }} | {{ params.billing.city }} |
{{ params.revenue }} | {{ params.shipping.country }} | {{ params.billing.country }} |
{{ params.currency }} | {{ params.shipping.state }} | {{ params.billing.state }} |
{{ params.payment_method }} | {{ params.shipping.zipcode }} | {{ params.billing.zipcode }} |
In the Drag & Drop Editor, select your desired block that will display the order information, then add your variables.
We recommend formatting numbers by using floatformat. In the example below, we have added:
- {{ params.currency | floatformat: 2 }} - The currency of the order
- {{ params.subtotal | floatformat: 2 }} - The subtotal of the order
- {{ params.discount | floatformat: 2 }} - The discount of the order
- {{ params.total | floatformat: 2 }} - The total of the order
Now let's personalize the email template with ordered items. To do so, we're using the New Template Language to insert a dynamic list.
Personalize your email with the ordered items details
Items data | Insert this placeholder in your template |
Name | {{ item.name }} |
SKU | {{ item.sku }} |
ID of the purchased item (internal to the BigCommerce system) | {{ item.id }} |
ID of the product variation (internal to the BigCommerce system) | {{ item.variant_id }} |
Price | {{ item.price }} |
Quantity | {{ item.quantity }} |
Storefront link of the purchased item | {{ item.url }} |
Image | {{ item.image }} |
In the Drag & Drop Editor, select your desired block that will display the abandoned items.
- Click the pencil icon to edit the settings for the design block.
- Enable the dynamic list option.
- In the parameter field, write
items
. - In the variable field, write
item
. - Set the limit for the number of items that will be displayed. For example, if there are 5 items, and you set 3 as the limit, only 3 items will be shown in the email.
Now add the variables to your email template. In the example above, we have added:
- {{ item.name }} - The name of the item
- {{ item.quantity }} - The quantity of the item
- {{ item.price | floatformat: 2 }} - The price of the item.
To add the link of the item, select the Call-To-Action (CTA) button. On the right sidebar, under Link, type {{ item.url }}.
To add the image of the item, select the image. On the right sidebar, under Image source, choose "From URL" then type {{ item.image }}.
Once your design is complete, click the green "Save & Quit" button. Then click the "Save & Activate" button.
2. Creating the order confirmation workflow
Good to know: A customer has to be identified by their email address to trigger the workflow i.e. a customer who has logged into their account on your BigCommerce store or input their email address during checkout.
Navigate to the Automation tab of your SendinBlue account.
Click on + CREATE A NEW WORKFLOW, then select "Product Purchase" and follow the steps.
- Step 1/3 - An event happens
- Select "Custom Event (Track Event").
- Type order_completed.
- Click on NEXT.
- Step 2/3 - Add a delay
- Choose a delay. For example 5 seconds.
- Click on NEXT.
- Step 3/3 - Send an email
- From the dropdown list, select the email template you have just created and activated.
- Check "Use my event data to customize the email".
- Select "The event data which triggered the workflow".
- Click on FINISH.
When your workflow is complete, click on DONE to save and activate it.
3. Example
Let's say that customer Jean Blue jean.blue@sendinblue.com has purchased the following 3 items from your store.
Your template will look like this.
The email received by Jean Blue jean.blue@sendinblue.com will look like this.
Further reading
- Learn how to set up the BigCommerce plugin.
- Learn how to create an abandoned cart email for BigCommerce customers.
Have a question?
If you have a question, feel free to reach our support team: support@sendinblue.com.
🤔 Have a question?
If you have a question, feel free to contact our support team by creating a ticket from your account. If you don't have an account yet, you can contact us here.