Integrations

One Agent AcrossEverything You Run

Your agent can call your routes, your connected apps, and the tools Substrio provides. You can add it to a site with one script tag.

Tools

Four Kinds of Tools in One List

Tools are grouped by area, under the names you already use. The agent opens an area only when it needs one, so the model works from a short list even when your app has hundreds of tools.

  • Your AppEvery route and tool your app declares is listed here, and there is no second list to maintain.
  • SubstrioCollections, schedules, files, and other built-in tools are open to the team and automation seats.
  • Connected AppsAuthJet, MapJet, and any app you connect are listed the same way.
  • Other ServicesYou can add a service on any other stack with a URL, a schema, and a signing secret.

One Script Tag

Copy one tag into your site, and the chat widget appears in your colors. The publishable key works only on the sites you list.

index.html
<script src="https://assistjet.net/widget.js"
  data-app="your-app" data-key="your-publishable-key" async></script>

A Plain API

Open a thread from any stack with one request. Your backend can sign a short token to tell the agent who it is talking to.

Request
POST /v1/_jets/assistjet/inquiries
{
  "subject": "Question about pricing",
  "from": { "email": "[email protected]" },
  "body": "Do you offer yearly plans?"
}

Direct From Your App

Inside a Substrio app, your code opens a thread or starts a run with one call and no key. The call stays on the server, so nothing crosses the network.

server.js
await substrio.apps.assistjet.inquire({
  subject: 'Refund request',
  from: { email: user.email },
  body: reason,
});
await substrio.apps.assistjet.run('order-check', { id });

Substrio Apps

Built to Work With Every Jet

Every Substrio app you add to your project stores data in the same database and runs under the same account.

Email

Replies, notifications, and reminders are sent as your app, and they count as that app’s mail.

AuthJet

The agent is told who is signed in, so each customer can reach only that customer’s records.

MapJet

The agent looks up places, routes, and addresses through the same list of tools.