Sign inGet started
Skills

Shopify stack

View as MarkdownOpen in ChatGPTOpen in Claude
Connect your agent
Add to CursorAdd to VS Code

Connect Klaviyo and Gorgias read only, so your agent reads them next to nextanalytica. And what to do for Recharge and BigQuery.

Updated

The tools around a Shopify store keep their own data: Klaviyo its email revenue, Gorgias its support tickets, Recharge its subscriptions and BigQuery your exports. Klaviyo and Gorgias run their own MCP servers, so an owner or admin connects each one once as a connector, and everyone's agent reads it next to your nextanalytica data.

Nothing is copied into nextanalytica. Your agent asks Klaviyo or Gorgias through the connector, asks nextanalytica for the visits and revenue, and puts the two side by side.

Which tools connect, and how?

ToolHow it connectsWhat your agent can do
KlaviyoA connector to Klaviyo's own MCP server, signed in with KlaviyoRead campaign and flow performance, segments and profiles
GorgiasA connector to Gorgias's own MCP server, signed in with GorgiasRead tickets, customers, satisfaction scores and support stats
RechargeRecharge has no MCP server of its ownRead renewals as Shopify orders: see What about Recharge?
BigQueryGoogle's own MCP server, added to your agent rather than as a connectorRun read-only queries: see What about BigQuery?

How do I connect Klaviyo or Gorgias?

  1. Open Connections and search for Klaviyo or Gorgias.
  2. Click Connect Klaviyo (or Connect Gorgias).
  3. Sign in to the tool if it asks, and approve the access it lists. Gorgias asks for your Gorgias subdomain first.
  4. Back in nextanalytica, the tool shows as connected, with its actions under Can act.

Only the project's owners and admins connect tools. In Klaviyo, your role must be Owner, Admin or Manager. Gorgias lets anyone on any Helpdesk plan connect.

What can my agent ask?

Ask in plain words; your agent calls list_connectors to see what it can read, then call_connector and nextanalytica's own tools.

  • "Compare last month's email revenue in Klaviyo with the revenue nextanalytica credits to the Email channel."
  • "Which Klaviyo campaigns last week got the most clicks, and how many visits did each bring to the site?"
  • "How many Gorgias tickets did we get each week this quarter, next to our revenue?"
  • "Did tickets about shipping go up in the week our checkout conversion fell?"

Klaviyo and nextanalytica count a sale differently. Klaviyo credits an email when someone bought within its own window after opening or clicking it; nextanalytica credits the visits before each order (see Attribution models). Expect the two numbers to differ, and ask your agent where the gap comes from.

Klaviyo links show up as a campaign in nextanalytica only when Klaviyo adds UTM tags to them. See UTM tags.

What stays read only?

Both connect read only:

  • Klaviyo is asked for its read-only server, which leaves out every tool that writes.
  • Gorgias has no read-only switch, so nextanalytica keeps only the actions Gorgias marks read only. Your agent has no other Gorgias action to call, so a reply to a customer, a macro or a rule change can't go out through it.

Want your agent to draft a Klaviyo campaign or tag a Gorgias ticket? Add the tool by its address as well: Connections > Connect any other tool, with https://mcp.klaviyo.com/mcp or https://mcp.gorgias.com/mcp, under a name of its own such as "Klaviyo with writes". Then every action the tool doesn't mark read only waits for a person's yes, and after your agent has read outside text, a project owner's or admin's too. See Agent steering.

Where does the data go?

  • It stays in Klaviyo and Gorgias. Each call goes to the tool and its answer goes to your agent. We don't keep the answers.
  • The sign-in is sealed in our secrets store and opened only for one call at a time.
  • Every call is logged with who made it, the action, what it touched (an id or a name) and whether it worked, for 12 months. See it in Connections > What agents did in your tools.
  • Your agent's provider gets what your agent reads, under that provider's terms.
  • Disconnect takes the sign-in back at the tool and deletes it here. Block the connector for the team with the Can act switch on its page.

What about Recharge?

Recharge doesn't run an MCP server of its own, so it has no connector.

Recharge places each subscription order in your Shopify store as an order, so the Shopify source already counts renewals as revenue, tied to the customer. Your agent can ask query with kind ltv which channel brought customers who keep buying:

  • "Which channel's first-time buyers from last quarter are still paying after 90 days?"
  • "What's the repeat rate of customers whose first order came from paid social?"

nextanalytica can't tell a renewal from a one-off order, and it doesn't see subscription status, skips or cancellations.

Other companies sell MCP servers for Recharge. You can add one by its address with Connect any other tool, but your Recharge data then passes through that company too, so we don't list them.

What about BigQuery?

Google runs an MCP server for BigQuery at https://bigquery.googleapis.com/mcp. It signs in only apps registered with Google beforehand, which connectors can't do yet, so add it to your agent itself, next to nextanalytica. Google's guide, Use the BigQuery MCP server, shows how for each client.

Your agent then queries both and joins them in its answer: "Join last month's orders in our BigQuery export with nextanalytica's revenue by channel."

  • Read only: give the Google account the roles roles/mcp.toolUser, roles/bigquery.jobUser and roles/bigquery.dataViewer, and ask your agent to use execute_sql_readonly. Google's execute_sql can change data; block it with an IAM deny policy if you want it gone.
  • Limits: a query returns at most 3,000 rows and runs for at most 3 minutes.
  • Not a connector: calls to BigQuery go from your agent to Google, so nextanalytica doesn't log them and can't block them.

Next steps

Related
  • How a run works: A scheduled run, step by step: it starts, reads context and numbers, reports a finding or stays quiet and finishes.
  • Anatomy of a finding: One finding from start to fix, told as a story: our rule notices wasted ad spend, a skill runs and explains it, and a person decides what to change.
  • Project knowledge: The team's instructions and memory your agent reads before every answer and every run, who writes them, the limits and how agents add to them.
  • Steer skills: Shape what skills look at and how they report, with team instructions, a skill's own text and feedback.
  • Built-in skills: The built-in analytics skills every nextanalytica project starts with: what each one does, the schedule it gets when added and what it needs.
  • What's in a skill: A skill's parts: a name, when to use it and the instructions, as one SKILL.md you can write yourself.
Still have questions?
Was this page useful?