Omni Exporter for Conversations
Omni Exporter is a Medallia Experience Cloud process that exports or passes survey records (invitations) from the Experience Cloud database to other systems. For Medallia Conversations, Omni Exporter looks for new invitations and passes them to Medallia Conversations to initiate the conversations.
When Omni Exporter finds invitation for Medallia Conversations, it extracts the necessary fields from the record(s), translates some values to ones Medallia Conversations expects, and sends the results as a JSON text object to Medallia Conversations.
-
The record is intended for Medallia Conversations (indicated by the
e_packages_bp_record_type_conversations_ynflag field). -
The record has not already been received by Medallia Conversations (indicated by the
e_packages_bp_mc_request_sent_to_mc_ynflag field). -
The survey status is either 3 (SURVEY_ENGINE_ONLY) or 27 (NO_SURVEY_ENGINE).
Set up authentication
Omni Export communicates with Medallia Conversations via APIs. To ensure proper security, each company has its own unique credentials comprised of an authentication ID and token.
To setup Omni Exporter authentication for the company:
In Medallia Web reporting Setup, locate the Integrations > Data Export > Omni Exporter screen.
Select the Medallia Conversations exporter named "Medallia Conversations - Trigger Conversation".
Scroll to the HTTP Request Assembly section and update the ID and token in the Headers property. In this illustration, replace "PLACEHOLDER" with the associated value on each line:
Click Save.
Configure invitation fields
Generally, you do not need to change the Omni Exporter configuration. The most common change is to add fields to the set that get passed to
Medallia Conversations. This is done in the fields element of the Omni Exporter's HTTP Request Body code. To passes additional fields, add them to the fields element. This snippet passes four fields:
write(JSON.stringify( function() {
…
content.survey = {
…
// Parameters sent to Medallia Conversations - Add as needed
fields: {
e_firstname: record.e_firstname,
e_lastname: record.e_lastname,
e_company_name: "Orion",
e_city: record.e_city
}
};
…
Additionally:
Note any Medallia Conversations fields being used for channel, conversations, etc. These need to be mapped in the invitation in the Importer specification.
Pay attention to the alt set of the field being sent — it's best to send strings as Medallia Conversations does not support conditioning based on integers.
Depending on the channel, you might need to change the conditioning if the phone number or messaging ID are sent. If in doubt pass both a messaging ID and a phone_number.
Troubleshooting Omni Exporter for Conversations
Errors with the Omni Exporter usually manifest themselves in the e_bp_mc_invite_status being stuck in "Created", or where conditioning / pipe-ins are not working.
To investigate the issue go to the "Events" tab in Omni Exporter and locate the triggered event.
Verify all the expected fields are showing up under "Event data".
Verify the Request and Response look correct, and that there are no error messages.
