Connect
Use either of these:- Sign in with OAuth. Add
https://api.gethinto.com/v1/mcpto your agent and sign in when it asks. The connection acts as you. - A secret key. An admin chooses New secret key in Settings > API keys and gives it a name. The key (
hinto_sk_…) is shown once. Send it asAuthorization: Bearer <key>. It reads tickets, investigations, and sessions, and it changes rules as the admin who created it, so each change is recorded under that admin’s name. Tools that need a person signed in with OAuth, such as approving a reply, are not available to it. If that admin leaves the workspace, the key keeps working for everything else, but Hinto refuses its rule changes: create a new secret key. Never use the publishable key here.
How a rule works
A rule starts on one or more triggers: a new ticket arrives, a customer replies, the status changes, labels, assignee or priority change, an investigation finishes, or an investigation fails.repeat says whether it acts once per ticket (the default) or every time.
Then come up to four paths. Hinto runs the first path whose conditions pass:
- A path holds up to four groups. The path passes when any group passes.
- A group holds up to eight conditions. The group passes when all of them pass.
- A path with no groups is Otherwise. It runs when no path above it matches, and it goes last.
{{ticket.title}}, {{ticket.number}}, {{ticket.url}}, {{ticket.status}}, {{customer.name}}, {{company.name}}, {{investigation.cause}}, {{investigation.confidence}} and {{rule.name}}. A variable Hinto doesn’t know is refused when you save. A value Hinto doesn’t have is left empty.
The tools
Ask before anything acts
Some calls returnconfirmation_required with a summary instead of acting: turning a rule on, changing a rule that is on, and deleting a rule. Show the person the summary, then call again with confirm: true. A rule that replies to customers or sends a webhook includes a rendered sample of the reply and the webhook’s address in that summary.
Hinto replies to a customer only from a rule step a person added. Don’t add a reply unless the person asked for one.
Webhooks
A Send a webhook step posts JSON to anhttps:// address that is not on a private network, waits up to 5 seconds, and is never retried. Each request carries x-hinto-timestamp, x-hinto-delivery-id and x-hinto-signature, an HMAC-SHA256 of v1:{timestamp}:{body} with your workspace’s webhook secret, prefixed v1=. An admin copies the secret from the rule’s menu on the Automations page.