- Target users
- Content
- Schedule and Goals
Prerequisites
Unlike Email and Push, WhatsApp requires an approved template before you can personalize content. Ensure the following:- A recommendation (product set) is set up and mapped to a user action. Refer to Map User Actions Settings.
- You have a pre-approved WhatsApp template with enough placeholders to hold the recommendation data. For example, to send a user’s name plus a recommended product’s title and link, get a template approved with three placeholders. Refer to WhatsApp Templates.
Create WhatsApp Campaigns with Recommendations
To create a WhatsApp campaign with recommendations, perform the following steps:-
On the sidebar menu in MoEngage, hover over the Engage menu item
. The Engage menu appears.
-
Click + New Campaign.
You can also click All Campaigns on the Engage menu and then click + Create campaign on the All campaigns page.
- On the New Campaign dialog box, under MESSAGING APPS, click WhatsApp.
-
Click Periodic campaign, and you can follow the same steps for any other WhatsApp campaign type. For more information about delivery types, refer to Delivery Types.

- Enter the basic campaign details and define the audience in step 1 ‘Target users’ and click Next.
- In step 2, on the Content tab, select the sender in the Select sender list.
-
Select the approved template in the Select template list.

- In the Header or Body placeholder field, type ’@’. The WhatsApp Personalization window opens.
-
On the Data personalization tab, in the Select attribute list, search for your recommendation and select it under Product sets.

-
Under Choose Fallback, select a fallback and click Done.
The Choose Fallback option controls what a user receives when personalization fails for them:
-
It auto-populates some Jinja code retrieving all available items list from recommendations. You can modify the code for your use case. For example, the following is the modified code to display one item:
MOE_NOT_SENDstops the message from going out when the product set is empty for a user, so no one receives a message with a blank placeholder. -
To display an item attribute, place the cursor inside the
forloop, type ’@’, and select the attribute in the Select attribute list. The attribute is inserted inside the loop, for example{{product['price']}}. - Repeat steps 8 to 12 for each remaining placeholder in the template. You can choose recommendations personalization or static textual content for different placeholders.
- After you complete the setup, under Preview type, click Personalized. MoEngage selects a user and renders the message with real values.
-
To preview the message for a specific user, click the edit icon
. The Personalized preview slide-out opens.
- In the Select user by list, select the identifier you want to use.
- In the User identifier value field, type the identifier of the user.
- Click Fetch user data. Under Personalization inputs, your product set appears as JSON with the items available for that user.
- Change the JSON to match what you want to preview. (Optional)
-
Click Update preview.
To enable Update preview for your account, contact your MoEngage CSM or the Support team. For more information, refer to Personalized Preview. -
You can also deliver a test campaign to ensure end-to-end delivery before scheduling it for all users.

- After you complete the content setup with recommendations, click Next at the bottom and move to ‘Schedule and Goals’, which is the step 3 of campaign setup.
- Set up the appropriate settings in Schedule and Goals and publish the campaign.