Skip to main content
An action is a request DeskHoot sends to your own system, such as “Cancel order”. Your team runs it from a conversation, and AutoPilot can run it too, if you allow it. Tools › Actions also lists Stripe’s actions, once Stripe is connected, and your forms. This page is about the actions you build yourself, under Your own.
An action needs a developer to add an address to your system that does the work. Only admins can make or change actions.

Make an action

Under Your own, select Add.
  • It is created straight away, switched off. It needs an address before you can Turn on.
  • Its command follows its name, such as /cancel-order for “Cancel order”.
  • Typing {{order_id}} in the request adds it under What it needs for you.
Send test sends a real request for a made-up customer. Use values that are safe to change.

The parts of an action

Who can use it

Admins can always run it. See Approvals and Tools AutoPilot can use.

Run an action

In a conversation, type the action’s command, or select it on the Actions card in Conversation details.
  • Selecting Run is the confirmation. If it needs approval, the button reads Ask for approval.
  • A private note is added, marked Done, with what was filled in and the answer.

With AutoPilot

AutoPilot runs up to 2 actions in one answer, never repeats one with the same details, and hands off if an action fails. See Limits in one answer.
With Can run it, AutoPilot decides when to run the action from When to use it. Write that carefully, and use Only inside a procedure for anything that changes money or orders.

The signing secret

DeskHoot signs every request, so your server can check that it really came from DeskHoot. The secret is shown once. Copy it for your developer. Replace secret makes the old one stop working straight away.

Limits

Delete an action

After Delete action, your team and AutoPilot can no longer use it. Notes from past runs stay in their conversations. Procedures that use it stop until you fix them.

Approvals

Ask a leader or admin before an action runs.

Procedures

Steps AutoPilot follows for one kind of request.

Your own API

Show details from your own system.

Forms

Ask for details in the chat.