Skip to main content
Staffify AIHelp Center

Add actions to a connection

Pick a ready-made action or build your own, and decide when the AI may use it.

How to2 min readUpdated

An action is one task an agent may do through a connection, such as looking up an order or creating a contact. You add actions per connection.

Go to AI AgentsToolsCustom Integrations and click the connection to open it.

Add a ready-made action

For Staffify Workspace and the one-click platforms there are ready-made actions (templates).

  1. Click Add Action. A list of templates opens, grouped by category.
  2. Choose a template. Name, instructions and settings are already filled in.
  3. Check the settings and save.

Repeat this for every action you want. Add only the actions your agents really need: with fewer actions the AI picks the right one more often.

Build your own action

For a connection to your own API, Add Action opens the wizard straight away. For other connections, click Or create a custom action from scratch below the templates. The wizard has four steps:

  1. Basic Info: give the action an Action Name (no spaces) and write the AI Instructions: when the AI should use it and what it should ask first. Be specific, for example "Use this when a caller asks about an existing order. Ask for the order number first."
  2. API Endpoint & Test: choose the method, enter the address of the task in your API and add the parameters the AI must collect from the customer, such as an email address or an order number. Then test the action with sample values. For your own API a successful test is required before you can continue.
  3. Settings: switch on Require confirmation if the AI must ask the customer to confirm first, and Mark as destructive for actions that change something permanently.
  4. Verification: optionally switch on Enable Identity Verification. The AI then asks the customer one or more questions and compares the answers with the data from your system before it shares anything. You choose what happens when the check fails: Apologize and continue, Transfer to human or a Custom message.
Use verification for every action that shows personal data, such as an address, order details or invoices. Use Require confirmation for changes, cancellations and refunds.

Test an action later

On the card of each action, click the play button to run it again with test values. You see the answer of your system straight away.

What happens when an action fails

When your system does not answer or gives an error, Staffify tries again a few times. If it still fails, the AI tells the customer it cannot help with that right now and the conversation continues. After repeated failures the action is switched off for a while. See Action history and health.

Frequently asked questions

What do I fill in for the endpoint and parameters?
That depends on the API of your system. The technical explanation, with examples, is on docs.staffifyai.com.

Related articles

Was this page helpful?