Skip to content

Approvals

A call that changes data waits for you. Check what it will do, approve or deny it, and that exact call runs once.

What an approval is

When a key's rule for a kind of call is Asks you, the call doesn't run. It waits until you approve or deny it. On a new key that is every write: sending, creating and updating. Deletes are Blocked on a new key, so they don't wait: they are refused.

Approvals in the sidebar has two tabs: Waiting, for what waits for you now, and History, for what you approved or denied before.

To approve or deny a call

  1. Open the approval link your AI gave you. Or open Approvals in the app and find the call; if it has an Open to approve or deny button, press it.
  2. Check what it will do. The approval names what your AI is asking to do, the endpoint, the kind of call, the inputs under With these inputs, and the key that asked. Show the inputs exactly as sent gives them as your AI sent them.
  3. Press Approve or Deny.
  4. If you approved, go back to your AI and ask it to try again. It can run that exact call once.

Approving a delete asks you a second time, because a delete usually can't be undone.

If you deny a call, your AI is told not to retry.

How long an approval lasts

A waiting approval shows when it expires. After that your AI has to ask again. Once you approve, it shows until when your AI can run the call.

Workflow runs that wait

A workflow run waits for you when one of its steps changes data, unless you said it needn't ask. It is listed on Approvals and on Workflows.

  1. Open the run that waits. The page lists every step and what each does, and the inputs the run was given.
  2. Press Approve and run, or Deny. An approved run runs once, straight away. A denied run doesn't run.

For a workflow you wrote, you can tick Don't ask again for these exact steps before you approve. A workflow someone else wrote shows you its steps first.

To hear about a waiting call

  1. Open Settings > Notifications.
  2. Tick Email me, or paste a Slack incoming webhook address, or both. Email is at most one every 15 minutes, with a link to review the call. Slack gets a message for each call that waits, with its link.
  3. Press Save.

History

Approvals > History lists the newest 200 calls a key's rules held for you in the workspace that is open, with what you decided and when. Workflow runs you approved or denied aren't in it: they are under Runs on the workflow's page.

The filters above the list are All, "Approved, not run yet", Denied, "Approved and ran" and Expired.

To be asked less, or more

What waits is decided by each key's rules. In Developers > API keys, open a key's rules and set each kind of call to Runs, Asks you or Blocked.

If something goes wrong

  • "Approval not found": it may belong to another account, or the link is wrong. Sign in with the account your AI's access key belongs to, or ask your AI for the link again.
  • "Couldn't load this approval": nothing was approved or denied. Press Try again.
  • "This request expired": ask your AI to try again for a fresh one.
  • You approved, but nothing happened: an approved call doesn't run by itself. Ask your AI to try again.
  • "Nothing waiting here" on a workflow run's link: it may have been decided already, belong to another account, or the link is wrong.