Triggered campaigns: one-by-one campaigns

Develop a marketing strategy centered around events with the triggered campaigns

One of the most important marketing strategies today is personalizing your campaigns to make customers feel unique. This means engaging with your customers based on their interactions with your brand.
Therefore, an action-based strategy is highly effective. With triggered campaigns, you can create tailored campaigns for specific moments in your customer journey and deliver them at the right times.

Let's dive into how you can create stunning personalized campaigns with JeriCommerce.

Create a trigger-base campaign

You will find the triggered campaigns on the campaigns section. 

Name and slug

When you create a campaign, choose a name that clearly identifies it. A slug will be automatically generated from that name. The slug acts as the unique identifier for this campaign in your program, enabling you to execute it whenever and wherever you want. We will discuss how to trigger the campaigns based on this slug in the next steps.

Content

Next, create the content of the campaign itself, including a title, body, and link if desired. Keep in mind that the same content will be displayed in the notification and on the backside later.
You can personalize the campaign using the variables, which will generate content based on the assigned customer.

Scheduling

This relates to how many days you want to keep the content of this campaign on the back of the wallet pass. Sometimes, you may only want to make an impact through a notification to your customers and don’t mind if the campaign disappears. Other times, you may want to keep it on the back for a longer period so that it remains accessible to customers later.

The logic behind some campaigns is that all notifications sent to the customer will always be visible on the back of the wallet. However, they will be removed when the customer receives a new notification or an update. With this feature, you can keep personalized campaigns on the back for as many days as you choose. After that period, the campaign will be removed if a new update comes in.

After saving, a triggered campaign will be editable until its first assignment. Once the campaign is assigned, you can no longer edit its content.

Trigger a campaign

After creating a campaign, it remains invisible to customers until you assign it to a specific one. You can do this in several ways, depending on the tools you use.

Shopify Flows

We have an specific action on Shopify Flows called "Assign campaign" .
The required parameters for this action are the customer's email and the campaign slug. You can copy the slug from the specific campaign.

Klaviyo or API

From Klaviyo, you can assign campaigns from your usual flows using the web-hook action.

This process is similar to what a developer would follow to assign the campaign through an API call.

To create a web-hook that points to our API. First, obtain an API key from our admin area (Settings > Technical > Create API-key) and get your program identifier (Settings > Technical > Program Information).

Now the first thing is complete the Destination URL on the web-hook action replacing the elements inside the <> with your information, also the remove the symbols:

https://api.jericommerce.com/v1/program/{{program_id}}/campaigns/{{campaign_slug}}/assignation


Now you should authenticate this API call with the API key by adding it to the header parameters. In the key field, write api-key and in the value field, paste the API key you obtained from our admin area.

On the JSON body, we define the assigned individual. The customer's email address will suffice. Here is a template of what to include in the body if you want to assign the campaign to the same profile that triggered the flow in Klaviyo:

{
  "email": "{{ person.email }}"
}

Webhook configuration on Klaviyo

Pro tip

One hidden feature allows you to overwrite the default content of the campaign, including the title, body, and link, with the content you create at that moment.

This is very helpful if you want to send unique codes or special content directly from Klaviyo that you cannot obtain from JeriCommerce.

The campaign's analytics will be tracked as usual, so you won't lose any tracking information.

Here is a content example from Klaviyo to send a special unique code as a link:

{
  "email": "{{ person.email }}",
  "link": "https://my-shop.com/disccount/WELCOME"
}


Other
Guides
No items found.

Topics

Integrations