Send survey responses to Google Sheets, Slack, email, Klaviyo and Google Analytics 4

Zenith has no native integrations. Your responses have three ways out, and each runs on tools you control. Two Shopify Flow triggers start a workflow, which Flow can turn into a Google Sheets row, a Slack message, an email or a Klaviyo event. A browser event carries each answer to a custom pixel you paste, which sends it to your own GA4 property. And the CSV export on your dashboard downloads every response. Flow and the pixel do nothing until you set them up.

Which one do I need?

Two Flow triggers, and when to use each

Zenith gives Flow two triggers. Each Flow guide shows a workflow for both, so pick the trigger first.

  • Survey completed runs once per order, when the customer has answered or skipped every question they can be shown. Use it for one row, message or event per finished survey: its Summary and Answers JSON fields carry every answer at once. Customers who stop partway never fire it, and each order fires it at most once.
  • Survey response received runs for every answer, each time a customer answers or skips a question, including surveys they leave partway. Use it when you want every answer, even from customers who do not finish.

Set up Shopify Flow for Zenith

Google Sheets, Slack, email and Klaviyo all start the same way: a Flow workflow that runs on one of Zenith's triggers. These three steps are the start of every one of them.

Before you start

Start the workflow

  1. Install Shopify Flow

    If Flow is not in your admin yet, install Shopify Flow from the Shopify App Store. It is free.

  2. Create a workflow

    In your Shopify admin, go to Apps > Flow and click Create workflow.

  3. Select the Zenith trigger

    Click Select a trigger, choose Zenith Post Purchase Survey, then the trigger your guide uses: Survey completed or Survey response received.

Then carry on from step 4 in the guide for where responses should go: Google Sheets, Slack, email or Klaviyo. Any other action in Flow's catalogue can use the same variables, including Send HTTP request.

The variables each trigger sends

In any action, Add a variable inserts each one exactly as shown here, braces included. Typed answers and comments are included as the customer wrote them. Every field is always sent, so a field with nothing in it arrives as n/a rather than as an empty value. Write your conditions against that: to act only on answers that carry a comment, use Comment is not equal to n/a.

Survey completed

FieldVariableWhat it holds
Order ID{{orderId}}The order's internal Shopify ID, as plain digits. This is not the order name your customers see.
Session ID{{sessionId}}The survey sitting: the same value as Session ID on each Survey response received run for the order.
Completed At{{completedAt}}When the last answer was submitted, as an ISO 8601 time in UTC.
Completed At Shop Time{{completedAtShopTime}}When the last answer was submitted, as YYYY-MM-DD HH:MM in your store's time zone.
Survey Language{{surveyLanguage}}The language the survey was shown in, such as en or de.
Questions Answered{{questionsAnswered}}How many questions the customer answered, as a number.
Questions Skipped{{questionsSkipped}}How many questions the customer skipped, as a number.
Summary{{summary}}Every question in survey order, one per line: the question, then the answer and any comment, or (skipped).
NPS Score{{npsScore}}The NPS rating, 0 to 10, as text. Arrives as n/a when the survey has no NPS question or the customer skipped it.
NPS Band{{npsBand}}detractor (0 to 6), passive (7 or 8) or promoter (9 or 10). Arrives as n/a when there is no NPS rating.
NPS Comment{{npsComment}}The comment left with the NPS rating. Arrives as n/a when there is none.
CSAT Score{{csatScore}}The CSAT rating, 1 to 5, as text. Arrives as n/a when the survey has no CSAT question or the customer skipped it.
CES Score{{cesScore}}The CES rating, 1 to 7, as text. Arrives as n/a when the survey has no CES question or the customer skipped it.
Attribution Question{{attributionQuestion}}Your survey's first choice question, the one the dashboard uses for attribution. Arrives as n/a when there is none.
Attribution Answer{{attributionAnswer}}The answer to that question. Arrives as n/a when the customer was not shown it or skipped it.
Answers JSON{{answersJson}}Every answer as one JSON object, keyed by question text, with the order ID, scores and counts. Ready to use as an event's properties.
Truncated{{truncated}}yes when long answers or comments were shortened to fit Flow's size limit, otherwise no.

Answers JSON starts with order_id, session_id, completed_at, survey_language, questions_answered, questions_skipped, nps_score, nps_band, csat_score, ces_score and truncated. After those comes one key per question, the question's text, holding its answer or (skipped). A comment gets a key of its own: the question's text followed by (comment). Because the keys are your question text, rewording a question changes its key.

Survey response received

Every response carries the same eleven fields as the first eleven columns of your CSV export, in the same order.

FieldVariableWhat it holds
Question ID{{questionId}}A stable ID for the question. It stays the same when you reword the question.
Question{{question}}The question text exactly as the customer saw it.
Question Type{{questionType}}multiple_choice, multi-select, scale or free-text.
Scale Preset{{scalePreset}}nps, csat or ces on a rating question that uses a preset. Arrives as n/a otherwise.
Scale Range{{scaleRange}}The rating scale the answer was given on, such as 0-10. Arrives as n/a for other question types.
Status{{status}}answered, or skipped when the customer moved past the question.
Answer{{answer}}The answer. A rating as a number, several choices as one comma separated list, typed text up to 500 characters. Arrives as n/a when skipped.
Comment{{comment}}The comment the customer added, or what they typed after choosing Other, up to 1000 characters. Arrives as n/a when there is none.
Submitted At{{submittedAt}}When the answer was submitted, as an ISO 8601 time in UTC.
Order ID{{orderId}}The order's internal Shopify ID, as plain digits. This is not the order name your customers see.
Session ID{{sessionId}}Shared by every answer from one survey sitting, so you can group them back together.

What to know

  • Survey response received runs once per question. A customer who answers three questions starts the workflow three times. Skipped questions start it too, with Status set to skipped; add a condition on Status if you only want answers.
  • Survey completed waits for the last question. It runs once the customer has answered or skipped every question they can be shown. If they stop partway, it never runs for that order, though each answer they gave still starts Survey response received.
  • Zenith cannot see your workflows. It sends every response to Flow whether or not a workflow exists, and Flow gives no sign either way, so Zenith cannot tell you when a workflow is missing, turned off or failing. Check the workflow in Flow itself.
  • Order ID is a number, not an order. Zenith does not ask for access to your orders, so neither trigger carries the order's customer, items or total. Flow's own Get order data action can look the order up from Order ID, as the Klaviyo guide does to find the customer's email.

Google Analytics 4

A custom pixel you paste sends each survey answer, except typed text, to your own GA4 property as an event: set up Google Analytics 4.

The CSV export

Export CSV on your dashboard downloads your responses as a spreadsheet file: what each column in the CSV export holds.

Install Zenith from the Shopify App Store