You can utilize Shopify Flow to create automated workflows based off Okendo Surveys events. This article will detail example workflows which can be set up using these triggers. Ensure that the Shopify Flow app is installed on your store before proceeding.
In this article, you'll learn how to:
Okendo Survey Response Created
This event is triggered when a user submits a response to an Okendo survey. It contains the below variables:
Variable | Description |
Customer Display Name | The display name of the customer, which may be 'Anonymous' if Okendo cannot attribute a name to a survey response. |
Survey Name | The name of the survey. |
Date Created | The date and time (ISO 8601 in UTC) at which the survey response was submitted. |
Achieved Reward | The type of reward that the customer achieved by responding to the survey. The value will be 'loyalty' or 'coupon' or an empty string if no rewards are given for this survey. |
The customer's email address or an empty string (when you allow surveys without an email request question). |
Example workflow: Deliver survey response notifications to Slack
Open the Shopify Flow app.
Click on Create workflow and then Select a trigger.
Click into the Okendo section and select the Okendo Survey Response Created trigger.
Click the + button on the trigger and add conditions defining the survey you would like to receive notifications for using the Survey Name variable.
Add the action Send Slack message after clicking into the Slack section. Ensure that Shopify Flow is first connected to your Slack account. Define either the Channel, or Member ID you would like to send the notification to by following the specified notation.
Define the message associated with the notification. You can utilize variables in the message such as {{SurveyName}} to provide more context. For example:
You have received a new survey response to the survey {{surveyName}}.
Your workflow should look similar to the below. When you are satisfied, turn on the workflow.
Once you receive a survey response and the flow triggers, you should receive a notification in Slack.
Okendo NPS Survey Response Created
This event is triggered when a user submits a response to an NPS question within an Okendo survey. It contains the below variables:
Variable | Description |
Customer Display Name | The display name of the customer, which may be 'Anonymous' if Okendo cannot attribute a name to a survey response. |
Survey Name | The name of the survey. |
Date Created | The date and time (ISO 8601 in UTC) at which the survey response was submitted. |
The customer's email address or an empty string (when you allow surveys without an email request question). | |
Question | The Net Promoter Score (NPS) question that the customer answered. |
Score | The Net Promoter Score (NPS) given in response to the question. The value will be a number between 0 and 10 inclusive. |
Example workflow: Create tickets in Gorgias based off NPS scores
Open the Shopify Flow app.
Click on Create workflow and then Select a trigger.
Click into the Okendo section and select the Okendo NPS Survey Response Created trigger.
Click the + button on the trigger and add conditions defining the Survey Name, Question and Score provided. For example you may only want to create a ticket if the NPS response is less than or equal to 6.
Add the action Create a ticket after clicking into the Gorgias section and define the Subject of the ticket. Ensure that Shopify Flow is first connected to your Gorgias account.
Enter a Subject and the variable {{email}} to the Customer's email section.
Define the Content of the ticket. You can utilize variables in the message such as {{SurveyName}} and {{score}} to provide more context.
Your workflow should look similar to the below. When you are satisfied, turn on the workflow.
Once you receive a NPS survey response and the flow triggers, you should see a new unassigned ticket created within your Gorgias account.