Tutorials
Engage and Onboard New Customers
Engage and Onboard New Customers

Engage and Onboard New Customers

When new users or customers sign up for your services or buy your product, you want to engage with them right away. You can do this using Moments and the communication channel your customers perfer, such as WhatsApp.

Solutions to combine:

  • Moments
  • People
  • Channels (in this tutorial, we've used WhatsApp but you could use other messaging channels)
NOTE

Please ensure that you check message template and creation rules depending on the messaging channel you want to use.

Every channel is different so the message creation process may not always be the same.

This tutorial shows how to welcome your new customers by sending them a message to announce enticing new products that are in store for them. You could also repurpose this tutorial for other industry needs i.e. engaging customers about their insurance policy, banking, and e-commerce to name a few.

WhatsApp Registration notification use case - high-level overview

Before Getting Started

To get started with this tutorial, you must have an Infobip account. Log in (opens in a new tab) or sign up (opens in a new tab) for an account.

Process Workflow

The following workflow shows the registration flow for WhatsApp including template checks and interaction with WhatsApp Business API client .

The flow may differ if you use other messaging channels to engage and onboard customers.

WhatsApp Registration notification use case - process workflow

Prerequisites

There are a number of prerequisites to be addressed before you implement this tutorial

  1. Channel dependent - Ensure that your message template is approved (if necessary) by the appropriate channel provider.
    For example, WhatsApp must approve the button_retail template and then you can reuse it and personalize it for each customer to receive the notification

  2. Decide the most appropriate method to track customer actions/events:

    1. Web SDK  - In this particular use case, we need to track events with Web SDK. For detailed instructions, refer to the Web SDK articles on our Documentation Hub. (Or get started immediately. Navigate to the People platform > Events > WebSDK (opens in a new tab)).
    2. MobileSDK
    3. API
  3. Create an event that will be the trigger for the other actions in the communication flow. Start by creating a new event that will be the trigger. In Peopl e, click Events > Custom Events > NEW EVENT DEFINITION. In this case, you could use Registrationas an event that will trigger other actions in the communication flow. (You will need to do the same for every event you plan to add to your communication.)

WhatsApp Registration notification use case - Create new event

Once you have created a New Event Definition obtained your definition ID, go back to the Web SDK library and copy the tracking method code to the body of your website.

NOTE

Event tracking is possible when customers are logged into your website.

Implementation Steps

Steps over Web Interface

  1. In the Moments module (on the navigation bar), click CREATE FLOW and then Start from Scratch.

  2. As your starting point, select TriggerPeople Real-Time Event.

  3. Select (previously set) Registration as the profile behavior the flow will wait for as an event.

    WhatsApp Registration notification use case - Trigger new event
  4. Add the Send WhatsApp message element and choose the buttons_retail template. Remember if you want to send your message over a different channel i.e. RCS, Viber, or LINE then select the appropriate channel for your target audience at this step.

    WhatsApp Registration notification use case - Use media template
  5. Now you need to define the payload for each button.

    Whatsapp Registration notification use case - Define button payload
  6. Add theEvaluate Inbound element and choose WhatsApp as the communication channel.

    Whatsapp Registration notification use case - Evaluate inbound message
  7. Create the button variable which will save your customer’s response.

    WhatsApp Registration notification use case - Collect variable
  8. Update the person profile’s already defined answer attribute with the newly created button variable.

    WhatsApp Registration notification use case - Update person's profile
  9. Create a new entry point called Change in People Profile and evaluate which button the customer has clicked on. To be evaluated successfully, the attribute must be in the following form:

    • BUTTON - Text: Button text, Payload:Payload text
    WhatsApp Registration notification - Change people profile
  10. Finally, based on the button your customers have chosen, send them the required information.

    WhatsApp - Registration notification use case - Send info to customers
  11. Select Validate(the flow won't launch when you click this) or schedule the Flow to be launched in the future by clicking Schedule.

  12. If you did everything correctly, you will see a summary screen with the LAUNCH NOWbutton (if scheduling is not set) or LAUNCH LATER (if scheduling is se

The preview below shows what the message looks like on your end user's device:

WhatsApp Registration notification use case - Mockup message

Need assistance

Explore Infobip Tutorials

Encountering issues

Contact our support

What's new? Check out

Release Notes

Unsure about a term? See

Glossary

Research panel

Help shape the future of our products
Service Terms & ConditionsPrivacy policyTerms of use