Shopify Flow Workflows
Leah Morassut avatar
Written by Leah Morassut
Updated over a week ago

In this guide we'll walk you through how to build different workflows in the Shopify Flow app using Junip's Review Submitted trigger. This guide covers how to create the following workflows:

    • Create a new ticket for all reviews submitted

    • Create a new ticket when a customer leaves a negative review

    • Add points to a customer's account when they leave a review

    • Reward a customer with points after they leave a review

    • Get notified in Slack when a negative review is submitted

Note: if you haven't already, make sure you've added Shopify Flow as an action in your Junip Post-review actions automation - this guide covers how.

Don't have Shopify Flow yet? Visit here to add the app to your store!


Gorgias

Create a New Ticket For All Reviews Submitted

Build a workflow that creates a ticket in Gorgias when a new review is submitted. This lets you follow up with happy customers and reach out when something goes wrong.

  1. In your Shopify admin, select 'Apps' from the sidebar menu on the left and open up the Flow app. Click 'Create a new workflow' > 'Select a trigger' > under Installed App Triggers, select the 'Junip - Review Submitted' trigger.

  2. Click the plus sign on the Junip trigger and create a new action. Under the 'Get More Actions' drop down, find the Gorgias listing and click 'Get this app'.

  3. Once you've connected the Gorgias app, refresh the page to see Gorgias under your list of Installed App Actions. Select the Gorgias 'Create a ticket' action.

  4. From here, you can customize what the internal note in Gorgias will say when a negative review is submitted. In the example below, the internal note uses variables to display the review body, title & star rating. It also includes which product the review was left on and the customer who submitted it.

  5. Then press 'Turn on workflow' in the top right corner, and you're done!

That's it! Now you have a workflow set up that automatically creates a new ticket in Gorgias when a customer submits a review. To test out the workflow, send a test event from your Junip admin under integrations > Shopify Flow.

❗️After setting up this workflow, ensure that you have added the Shopify Flow Action to your "Review submitted actions" flow in Junip and that it is turned on.


Create A New Ticket When a Customer Leaves a Negative Review

Often when a customer leaves a negative review, this is the first time they reach out if something went wrong (i.e. shipping mishap, product defect, etc.). To avoid letting this slip through the cracks, you can build a workflow that automatically creates a new ticket in your Gorgias help desk when a customer leaves a negative review. This lets you seamlessly follow up with customers to make things right and win back an unhappy customer.

  1. In your Shopify admin, select 'Apps' from the sidebar menu on the left and open up the Flow app. Click 'Create a new workflow' > 'Select a trigger' > under Installed App Triggers, select the 'Junip - Review Submitted' trigger.

  2. Next, click the plus sign on the Junip trigger and create a new condition. Press 'Add criteria' > select 'Review Rating' and set this condition to 'Less than or Equal to 2'. Then press 'Add criteria'.

  3. Next, click the plus sign on the condition we just created and create a new action. Under the 'Get More Actions' drop down, find the Gorgias listing and click 'Get this app'.

  4. Once you've connected the Gorgias app, refresh the page to see Gorgias under your list of Installed App Actions. Select the Gorgias 'Create a ticket' action.

  5. From here, you can customize what the internal note in Gorgias will say when a new review is submitted. Be sure to use variables to display dynamic information about the review to help offer context for the person actioning this ticket.

    Here's an example copy & variables that you can copy/paste into your content section, feel free to adjust this so that it works best for you!

    {{customer.displayName}} just left a {{reviewRating}} star review for {{productTitle}}. Here's their review:

    {{reviewTitle}}
    {{reviewBody}}

    This ticket is to reach out to the customer to try to resolve the issue they're having (if relevant). The customer's email is {{customer.email}}. This review is currently in the {{reviewState}} folder in Junip and can be managed from there.

    Reminder that if your team resolves the customer's issue and they want to edit their review, you can send them this link for them to do so: https://junip.co/forms/{{shop.name}}#edit

    You can respond publicly to the review from Junip's dashboard here: https://admin.juniphq.com/reviews?queryValue={{customer.email}}

  6. Then press 'Turn on workflow' in the top right corner, and you're done!

That's it! Now you have a workflow set up that automatically creates a new ticket in Gorgias when a customer leaves a negative review. To test out the workflow, send a test event from your Junip admin under integrations > Shopify Flow.

❗️After setting up this workflow, ensure that you have added the Shopify Flow Action to your "Review submitted actions" flow in Junip and that it is turned on.


LoyaltyLion

Add Points To A Customer's Account When They Leave A Review

Build a workflow to reward customers with points in their LoyaltyLion account when they leave a review!

  1. In your Shopify admin, select 'Apps' from the sidebar menu on the left and open up the Flow app. Click 'Create a new workflow' > 'Select a trigger' > under Installed App Triggers, select the 'Junip - Review Submitted' trigger.

  2. This step is optional, however we recommend checking to make sure that a customer is a verified buyer before rewarding them points. Click the plus sign on the Junip trigger and create a condition. Press 'Add criteria' > select 'Verified buyer' and set this condition Equal to True.

  3. Click the plus on the 'Then' condition to create new action. Under the 'Get More Actions' drop down, find the LoyaltyLion listing and click 'Get this app'.

  4. Once you've connected the LoyaltyLion app, refresh the page to see LoyaltyLion under your list of Installed App Actions. Select the LoyaltyLion 'Add points' action.

  5. From here, you can customize how many points to reward a customer when they submit a review.

    Then press 'Turn on workflow' in the top right corner, and you're done!

That's it! Now you've built a workflow that lets you reward points to customers after they leave a review. To test out the workflow, send a test event from your Junip admin under integrations > Shopify Flow.

❗️After setting up this workflow, ensure that you have added the Shopify Flow Action to your "Review submitted actions" flow in Junip and that it is turned on.


Yotpo Loyalty & Rewards

Reward Points To Customers When They Leave A Review

Build a workflow to reward customers with points in their Yotpo Loyalty & Rewards account when they leave a review!

Note: this workflow requires creating a Custom Action Earning Rule in your Yotpo Loyalty & Referral's account, which is only available for merchants on their Platinum and Enterprise plans.

  1. In your Shopify admin, select 'Apps' from the sidebar menu and open up the Flow app. Click 'Create a new workflow' > 'Select a trigger' > under Installed App Triggers, select the 'Junip - Review Submitted' trigger.

  2. This step is optional, however we recommend checking to make sure that a customer is a verified buyer before rewarding them points. Click the plus sign on the Junip trigger and create a condition. Press 'Add criteria' > select 'Verified buyer' and set this condition Equal to True.

  3. Click the plus on the 'Then' condition to create new action. Under the 'Get More Actions' drop down, find the Yotpo Loyalty & Rewards listing and click 'Get this app'.

  4. Once you've connected the Yotpo Loyalty & Rewards app, refresh the page to see it under your list of Installed App Actions. Select the Yotpo Loyalty & Rewards 'Reward points' action.

From here, fill out the template:

  • Name of completed action: this should be similar to the trigger, so we've made it "review_submitted". You will also need to save this name for later to include in the "Custom Action" campaign in Yotpo Loyalty & Referrals.

  • Email Address Of Customer: use {{order.email}} here because Yotpo Loyalty & Rewards uses a customer's email to attribute the trigger to the record in Yotpo Rewards.

  • What type of campaign?: this must be set to "CustomAction".

  • How many points to award?: set the number of points you'd like to reward customers for leaving a review.

  • Description for customer history (optional): you can set the description for the campaign here, or directly in the Custom Action campaign in Yotpo Loyalty & Rewards.

    Before turning on the workflow, you'll need to head to your Yotpo Loyalty & Rewards admin to create a Custom Action Earning Rule.

  • From the main dashboard, go to Set Up Program > Rewards Program.

  • Click on 'Create earning rule'.

  • Under 'Advanced' select 'Custom action', then click 'Next'.

  • Customize each setting of your earning rule. Read here a description of each setting.

Once you've set up your Custom Action Earning Rule, you can now go back into your Shopify Flow admin and turn on the workflow!

That's it! You've built a workflow that lets you reward points to customers after they leave a review. To test out the workflow, send a test event from your Junip admin under integrations > Shopify Flow.

❗️After setting up this workflow, ensure that you have added the Shopify Flow Action to your "Review submitted actions" flow in Junip and that it is turned on.


Slack

Get notified in Slack when a negative review is submitted

Build a Workflow that sends a message in Slack when a negative review is submitted.

  1. In your Shopify admin, select 'Apps' from the sidebar menu and open up the Flow app. Click 'Create a new workflow' > 'Select a trigger' > under Installed App Triggers, select the 'Junip - Review Submitted' trigger.

  2. Next, click the plus sign on the Junip trigger and create a new condition. Press 'Add criteria' > select 'Review Rating' and set this condition to 'Less than or Equal to 2'. Then press 'Add criteria'.

  3. Next, click the plus sign on the condition we just created and create a new action. Under the 'Get More Actions' drop down, find the Slack listing and click 'Connect'.

  4. Once you've connected Slack, refresh the page to see Slack under your list of Installed App Actions. Select the Slack 'Send Slack message' action.

  5. From here, you can customize what the message in Slack will say when a new review is submitted. Be sure to use variables to display dynamic information about the review to help offer context for the person or Channel members receiving the message.

    Here's an example of the copy & variables that you can copy/paste into your message section, feel free to adjust this so that it works best for you!

    {{customer.displayName}} just left a {{reviewRating}} star review for {{productTitle}}. Here's their review:

    {{reviewTitle}}
    {{reviewBody}}

    To reach out to the customer to try to resolve the issue they're having (if relevant). The customer's email is {{customer.email}}. This review is currently in the {{reviewState}} folder in Junip and can be managed from there.

    Reminder that if your team resolves the customer's issue and they want to edit their review, you can send them your store's "Leave a review link" found in your Junip admin here: https://admin.juniphq.com/forms/review_links

    You can respond publicly to the review from Junip's dashboard here: https://admin.juniphq.com/reviews?queryValue={{customer.email}}

    Choose which Slack Channel or team member you would like to send the message to and enter it in the Channel, or member id field.

  6. If you're sending the message to a channel, you must invite the Flowbot to the Slack Channel you have chosen. You can do this by typing '@flowbot' in the channel, selecting the Flowbot app from the drop-down, and sending the message.

Once you've added the Flowbot to the channel, you can now go back into your Shopify Flow admin and turn on the workflow!

That's it! You've built a workflow that sends a message to the channel or Slack member of your choice every time a negative review is submitted. To test out the workflow, send a test event from your Junip admin under integrations > Shopify Flow.

❗️After setting up this workflow, ensure that you have added the Shopify Flow Action to your "Review submitted actions" flow in Junip and that it is turned on.


Have a workflow in mind?

Reach out to support@juniphq.com to let us know if there's a workflow you're looking to create and we'd be happy to help set this up for you!

Did this answer your question?