Browse the docs

Agent setup guide

Gorgias Order-Aware Replies

Every new Gorgias ticket triaged and tagged, with a reply drafted from the customer's real Shopify orders and sent after approval.

Available About 20 min to set up

What it does

Every new Gorgias ticket triaged and tagged, with a reply drafted from the customer's real Shopify orders and sent after approval.

  • Starts on each new Gorgias ticket (checked every few minutes) and reads its latest message.
  • Looks up the customer's 5 most recent Shopify orders by email.
  • AI picks the category, priority, sentiment and up to 3 tags, writes a summary and drafts a reply from your policies and the real order data (status, fulfillment, tracking).
  • Adds the triage and the draft as an internal note and adds the suggested tags to the ticket.
  • Posts urgent, angry and VIP tickets (by your escalation rules) to Slack; the reply is emailed from your support address only after a teammate approves it in Reviews.

What it needs

  • A paid plan (agents run live on paid plans).
  • An AI provider key (Settings → AI Providers).
  • Gorgias (an API key), Shopify and Slack, connected in Settings → Integrations.
  • A support email address connected to Gorgias.

What it doesn't do

  • It never sends a reply without a person approving it.
  • It doesn't refund, cancel or edit orders, and never invents tracking or delivery dates.
  • Orders are matched by the customer's email only; orders placed with another email aren't found.
  • It isn't instant: Gorgias is checked every few minutes.

Availability and plans

Available

Its workflow is built and tested, and every app it needs is live. You can get it and set it up now.

Included free on the Business, Elite and Enterprise plans; on other paid plans it's a one-time purchase per workspace (the price is on the Agents page). The Agents page in the app always shows its current status.

Before you start

  • A paid plan: agents run live, and the Free plan only runs Dry Runs.
  • An AI provider key (OpenAI, Anthropic, Google and more) in Settings → AI Providers. AI usage is billed by your provider.
  • These apps, connected in Settings → Integrations: Gorgias, Shopify and Slack.
  • The app it watches, connected in Settings → Integrations (the agent starts from an app event).
  • About 20 minutes.

Set it up step by step

Get the agent first (buy it, or it's already yours when your plan includes it), then in Agents → My agents press “Set up this agent”. That creates the agent's workflow in your workspace (it counts towards your plan's workflow limit) and opens the canvas with a setup checklist above it. Each item links to the exact place to go and ticks itself off when it's done.

1. Connect your AI provider

The AI steps run on your own key (OpenAI, Anthropic, Google and more). Add one in Settings → AI Providers.

2. Connect Gorgias

Connect Gorgias with your helpdesk address, your email and an API key from Gorgias → Settings → REST API (Settings → Integrations → Gorgias).

3. Connect Shopify

Connect the Shopify store your orders are in (Settings → Integrations → Shopify).

4. Connect Slack

Connect the Slack workspace your support team uses (Settings → Integrations → Slack).

5. Paste your support policies

Open “Triage the ticket and draft an order-aware reply” and replace the policies placeholder with your refund, shipping and billing rules and your team name.

SettingWhat to enterIn step
Your support policiesReplace the placeholder in the triage step with your refund, shipping, billing and contact policies and your team name. Drafts only state facts written there. It starts as “[PASTE YOUR SUPPORT POLICIES HERE]” until you replace it.“Triage the ticket and draft an order-aware reply”

6. Describe VIPs and what to escalate

In the same step, replace the escalation placeholder with who your VIP customers are and the topics that go straight to a person.

SettingWhat to enterIn step
VIP and escalation rulesReplace the second placeholder with who your VIP or at-risk customers are (plan, company, tag) and the topics that go straight to a person (legal, press, safety…). It starts as “[DESCRIBE YOUR VIP CUSTOMERS AND WHAT SHOULD GO STRAIGHT TO A PERSON HERE]” until you replace it.“Triage the ticket and draft an order-aware reply”

7. Pick the Gorgias account and support address

Pick the same Gorgias connection in the trigger and every Gorgias step, and enter the support address replies are sent from.

SettingWhat to enterIn step
Gorgias account (trigger)The Gorgias helpdesk whose new tickets start the agent. Pick your connected Gorgias account.“New Gorgias ticket”
Gorgias account (read)The same Gorgias helpdesk, used to read the ticket's messages. Pick your connected Gorgias account.“Read the ticket's messages”
Gorgias account (note)The same Gorgias helpdesk, used to add the internal note. Pick your connected Gorgias account.“Add the triage as an internal note”
Gorgias account (tags)The same Gorgias helpdesk, used to add the tags. Pick your connected Gorgias account.“Tag the ticket”
Gorgias account (reply)The same Gorgias helpdesk; replies are sent as the connected user. Pick your connected Gorgias account.“Email the reply from Gorgias”
Your support email addressOne of the email addresses connected to Gorgias (Settings → Email). Approved replies are sent from it.“Email the reply from Gorgias”

8. Pick the Shopify store

Open “Find the customer's Shopify orders” and pick your store.

SettingWhat to enterIn step
Shopify storeThe Shopify store the customer's orders are looked up in (read orders access). Pick your connected Shopify account.“Find the customer's Shopify orders”

9. Pick the Slack account and channel

Open “Alert the team in Slack” and pick your account and channel. Invite the app to private channels first (/invite @Fluxo Flow).

SettingWhat to enterIn step
Slack accountThe Slack workspace escalations are posted to. Pick your connected Slack account.“Alert the team in Slack”
Slack channel for escalationsPick the channel your support team watches, e.g. #support-urgent.“Alert the team in Slack”

10. Test it with Dry Run

Press Dry Run: the agent runs on sample data with no messages sent and nothing written to your apps.

11. Switch the trigger on

Open the trigger and click “Activate app trigger”. Tickets that arrive from then on are triaged (existing tickets are left alone).

How it works

The agent is a normal workflow with 15 steps (1 AI step, with a person approving in Reviews). You can open, edit and monitor it like any other workflow.

  • New Gorgias ticket — Starts on “New ticket” in Gorgias (an app event). Starts a run for each new ticket in your Gorgias helpdesk (checked every few minutes).
  • Read the ticket's messages — Gorgias: Get a ticket. Reads the ticket to get the customer's message (the trigger only has the ticket's details).
  • Find the customer's Shopify orders — Shopify: Find orders. Looks up the customer's 5 most recent Shopify orders by email.
  • Triage the ticket and draft an order-aware reply — AI step (runs on your AI provider key). AI picks the category, priority and tags, decides whether to escalate and drafts a reply from your policies and the customer's real Shopify orders.
  • Add the triage as an internal note — Gorgias: Add an internal note. Adds an internal note with the category, priority, summary, the order it used and the drafted reply.
  • Tag the ticket — Gorgias: Add tags to a ticket. Adds the suggested tags to the ticket (tags it already has stay).
  • Triage saved on the ticket — Kept in the run history. The note and tags are on the ticket; the run history keeps the full triage.
  • Escalate to a person? — Decision: picks the branch to follow. Urgent, angry, VIP or at-risk tickets (by your escalation rules) are posted to Slack right away.
  • Alert the team in Slack — Slack: Post a message. Branch: Escalate. Posts the customer, priority, why it's escalated and the summary to your support channel.
  • No escalation — Kept in the run history. Branch: Routine. Routine tickets aren't posted to Slack.
  • Draft a reply? — Decision: picks the branch to follow. Spam, auto-replies and messages that need no answer get no reply; everything else goes on to the draft.
  • No reply drafted — Kept in the run history. Branch: No reply. Spam, auto-replies and messages that need no answer: only the note is added.
  • Approve the reply — A person approves or rejects it in Reviews (the run waits). Branch: Draft. A teammate checks the draft and the order it relied on in Reviews, edits it if needed and approves; rejecting sends nothing.
  • Email the reply from Gorgias — Gorgias: Reply to a ticket. Branch: Approved. Sends the approved reply by email from your support address, as the connected Gorgias user.
  • Reply sent — Kept in the run history. The run history keeps the reply that went out.

Test it with Dry Run

Press Dry Run in the canvas. The agent runs on the sample data stored on its trigger (the “Sample data for Dry Run” box), so you can check every step's output before anything is live. The sample has the same shape as a real event from the app.

Sample data fields

subject, id, status, priority, channel, customer_id, customer_email, customer_name, assignee_user_id, tags (a list), created_datetime, updated_datetime, last_received_message_datetime, ticket.

  • Nothing is sent or written: app actions, emails and Slack posts are simulated, and AI steps don't call your AI provider.
  • Approval steps use the Dry Run decision you pick in the step's settings (approved, rejected or timeout), so you can try each branch.

Go live

  • Open the trigger and click “Activate app trigger”. Tickets that arrive from then on are triaged (existing tickets are left alone).
  • Activating the app trigger needs the trigger's connected account. The first check only remembers what's already there, so older items don't start runs; the same item never starts two runs.
  • The setup checklist adds a “paid plan” item before activation: live runs need a paid plan (the Free plan only runs Dry Runs).
  • When every checklist item is done and the trigger is on, the checklist says “Live — this agent is running”. Follow its runs in the workflow's History tab and in Analytics → Agents.

Questions

Does it reply on its own?

No. Every reply waits in Reviews; only the internal note and the tags are added without review.

What if the order isn't found?

The draft says a teammate will look it up, and the note lists “order details” as missing. It never makes up a status or tracking number.

Which address does the reply come from?

The support address you enter in “Email the reply from Gorgias”. It must be one of the email addresses connected to Gorgias.

Troubleshooting

  • “No AI provider connected” or a rejected key: connect or fix the key in Settings → AI Providers, then press Test there.
  • A checklist item stays unticked: the setting is still empty or still contains its placeholder text. Open the step from the checklist and fill it in.
  • An app step fails with “Needs reconnect”: the account's access was revoked or expired. Reconnect it in Settings → Integrations.
  • Slack says the app isn't in the channel: in Slack, type /invite @Fluxo Flow in that channel (always needed for private channels).
  • No runs start: activate the app trigger with a connected account. Only items created after activation start runs.
  • A run shows as paused: it's waiting for someone in Reviews to approve or reject it.
  • A step failed: open the run in History and check that step in the Trace tab for the error and what it received.

Generated from the agent's own workflow, so it always matches what the agent does. Last updated .