Integrations
Microsoft Dynamics 365 Customer Insights - Journeys messaging

Microsoft Dynamics 365 Customer Insights - Journeys messaging

The Infobip Messaging app for Dynamics 365 Marketing lets you send messages to your Microsoft Dynamics 365 Marketing contacts using WhatsApp and Viber.

Infobip Messaging lets you:

  • Send a single message using the Message form
  • Send messages from a Customer Journey
  • Create templates containing personalized message content and track messages using delivery reports

What you will need

Before you start, you will need:

  • Your Infobip account or sign up (opens in a new tab) for free
  • Microsoft Dynamics 365 account with the Infobip Messaging Admin or Infobip Messaging User Marketing” security role to access and configure the app

For more information on configuration, see the Dynamics 365 Customer Insights - Journeys documentation (opens in a new tab).

Installation

The Microsoft Dynamics 365 Insights app is built in Power Apps. To install the app:

  1. Go to Power Apps (opens in a new tab).
  2. Select the environment where you wish to install the package. The selected environment displays on the top-right of the menu bar.
  3. Select Solutions from the left navigation, and then click Import solution. You see a message to indicate that the package has been installed successfully.
  4. Click Publish all customizations. You see a message to indicate that all customizations have been published successfully.
Dynamics 365 Marketing - Publish all customizations

Configuration

In Dynamics 365, go to Apps and open the Dynamics 365 link. Then, select Infobip Messaging.

Dynamics 365 Marketing - Infobip Messaging link

To configure the app, use the following steps:

Step 1 - Give Consent

  1. Go to Settings and click Give Consent.
  2. Use an account with System Administrator privilege to get permissions.

Step 2 - API Credentials

  1. Go to Settings and then go to API Credentials.
  2. Click New.
  3. On the General tab, add the following information:
    • Insert the name of the configuration.
    • Insert the API Key that you received from Infobip.
  4. Click Save.
Dynamics 365 Marketing - Congfiguration

Step 3 - Set as live

  1. Share the Organization Data Service Url with Infobip to register for sending reports.
  2. Click Set As Live.
Dynamics 365 - Set as live

Step 4 - WhatsApp configuration

These steps describe how to configure the WhatsApp channel.

  1. Go to WhatsApp Configuration.
  2. Select Yes to enable the WhatsApp channel
  3. Select a sender from the drop down list.
  4. Set the logical field name that should be used for the phone number in the Lead table.
  5. Set the logical field name that should be used for the phone number in the Contact table.
  6. Click Save.
Dynamics 365 - WhatsApp configuration

Step 5 - Viber configuration

These steps describe how to configure the Viber channel.

  1. Go to Viber Configuration.
  2. Select Yes to enable the Viber channel.
  3. Select a sender from drop down list
  4. Set the logical field name that should be used for the phone number in the Lead table
  5. Set the logical field name that should be used for the phone number in the Contact table
  6. Click Save.
Dynamics 365 - WhatsApp configuration

Step 6 - Custom channels configuration

  1. Go to Custom Channels and click New custom channel.
  2. Select the channel that you want to add, and then click Next. This example describes Viber but you can repeat these steps for WhatsApp, if applicable.
  3. Add a name for the channel in Name. You can also add a description of the channel.
  4. Add a sender name in Sender. The sender name is displayed in Journey.
  5. Select the Configuration that you created in Step 2.
  6. Click Next and then click Done.
Dynamics 365 - Configure custom channels

Using the app

When you have installed and configured the app, you can use it to work with contact and leads, segments, add consent to phone numbers, and templates.

Contacts/Leads

Create Contacts and/or Leads with phone numbers set in the fields configured in Step 4 and Step 5. You need to set all fields that will be used as Placeholders.

Segments

Infobip Messaging supports Contact and Lead types of segments.

Create Segments by adding members. Save the segment and click Ready to use on the segment.

Add consent to phone numbers

Add all phone numbers you want to send message to to the Active Contact Point Consent.

  1. Click Consent Center.
  2. Click Custom consent.
  3. Add the phone number.
  4. Select Compliance Profile.
  5. Select Purpose(this is the same purpose for Journey Message).
  6. Click Save.
Dynamics 365 - Add consent to phone numbers

Create templates

To create Viber template, use the following steps:

  1. Click Viber Templates.
  2. Click New.
  3. Add a name for the template in Name.
  4. Select if Placeholders should be taken from the Contact table or Lead table
  5. Select a Sender from the drop down list.
  6. Select Add message tags to add Placeholders to the message.
  7. Compose the message content in Message.
  8. Click Save.
  9. Then, click the Go Live button.
Dynamics 365 - Create Viber template

To create WhatsApp template, use the following steps:

  1. Click WhatsApp Templates.

  2. Click New.

  3. Add a name for the template in Name.

  4. Select if Placeholders should be taken from the Contact table or Lead table.

  5. Select a Sender from the drop down list.

  6. Select a template from list of templates assigned to selected Sender.

    Dynamics 365 - Create WhatsApp template
  7. Select Add message tags to add Placeholders to the message.

  8. In the Body Placeholders field, select which field from Dataverse to input to particular Placeholder.

  9. Click Save.

  10. Then, click the Go Live button.

Dynamics 365 - WhatsApp template body placeholders

Create a Journey Message

To create a Journey Message, you need to embed the created templates:

  1. Click Journey Messages, and then New message.

  2. Select the channel for the message from drop down list.

    Dynamics 365 - Create Journey Message
  3. Add a name in Name.

  4. Select a Template from the drop down list.

  5. Select Purpose. Make sure that you have added target phone numbers to the Purpose group in the Consent Center.

  6. Click Save.

  7. Click Test send to test a message. You input the phone number in the next step.

  8. Click Ready to send.

Create a Journey

To create a Journey, click Journeys and then click New journey.

  1. Add the name of a journey.

  2. Select the type of journey.  Infobip Messaging supports Trigger-based and Segment-based journey.

  3. Select a segment of targets from the drop down list.

  4. Set when the journey should be executed.

  5. Click Create.

    Dynamics 365 - Create Journey
  6. On the Add an action or other element window, select Send other types of messages.

  7. Select a Channel from the drop down list.

  8. Choose a Journey Message from the drop down list. The Journey Messages are available if the particular message is targeted at a Contact or Lead table.

  9. Click Save.

  10. Click Publish.

The journey target segment type (Contact or Lead) has to be aligned with selected messages types (Contact or Lead). If it’s not aligned, error message will be displayed and the journey will not be published.

Dynamics 365 - Journey Lead Segment

You can check the status of sent messages after selecting it in left menu.

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