Skip to content
QwryAI
Documentation
Pages

AI Agent Management

AI agent Actions: let your agent take action for customers

Actions let your QwryAI agent do more than answer: open a ticket, hand over to your team, collect details, call your own API, and more

Actions are tools your QwryAI agent can use in the middle of a conversation. Each one connects the agent to a specific task: creating a support ticket, handing the chat to a person, saving a lead, calling your API, searching the web, or showing a button. With Actions, the agent can resolve a request instead of only describing how to resolve it. You choose which channels each Action works on, from the Chat bubble on your website to WhatsApp, Instagram, email and phone.

You add and configure Actions in Build › Actions. The agent decides when to call each Action from the When to use instructions you write for it.

Build › Actions lists every Action on the agent.

Available Actions

Open Create Action to see every Action type. My Actions lists the ones you've added; filter them with Type (All types, Custom, Integrations, Escalations or Tools) or find one with Search.

Filter My Actions by type.

Support and handoff

ActionWhat it does
EscalationsCreate a support ticket in QwryAI Tickets or a connected helpdesk when a customer needs human help
QwryAI live chatHand the conversation to a person on your team in QwryAI, in real time
Salesforce live chatHand over to a human agent in Salesforce
Zendesk MessagingHand over to a human agent in Zendesk Messaging
Sunshine live chatHand over to a human agent through Sunshine
Transfer to phone numberPass a live phone call to a person's phone number

Commerce

ActionWhat it does
ShopifyRecommend products, manage the cart, place orders, handle returns and exchanges, and answer order and delivery questions

Lead capture

ActionWhat it does
Collect leadsCapture a visitor's name, email and phone number as a lead
Collect dataCollect the details you choose, in the conversation or with a form widget
Custom formShow a custom form you build on your website to collect information

Scheduling

ActionWhat it does
CalLet customers check availability and book meetings without leaving the chat
CalendlyLet customers check availability and book meetings without leaving the chat

Other

ActionWhat it does
Custom actionsCall your API, run client-side code, and optionally show an interactive widget
Suggested messagesShow clickable reply suggestions during the conversation
SlackSend notifications and updates to a Slack channel
Web searchSearch the web in real time to answer questions with live data
Custom buttonShow a button that opens a link you choose

The Stripe card is marked Coming soon and can't be added yet.

Create Action lists every Action type you can add.

Select a card to see a sample chat and a short description, then select Start customizing to open its editor.

Select a card to see what the Action does.
Each card opens a preview with Start customizing.

How the agent decides to call an Action

An enabled Action is a tool the agent can use, not a script it has to run. The agent can call an Action only when all of these are true:

  1. The Action is enabled on your agent.
  2. The Action is turned on for the current channel. See Channels.
  3. The request matches the Action's When to use instructions, or a step in a running Procedure references the Action.

If Only use in Procedures is on, the Action runs only from a Procedure step, never on the agent's own judgment.

Write clear When to use instructions

Every Action editor opens on General, where When to use tells the agent when the Action applies. A vague one is the most common reason an Action never fires, or fires at the wrong moment. A descriptive Action name, such as create_ticket_refunds, also helps the agent understand what the Action is for. Many Actions start with a default When to use; Reset puts it back.

General: the Action name, its settings, and When to use.

Describe the situation in the words customers actually use, and say when not to use the Action if another one could match the same request. Custom actions also have a When not to use (optional) box for this. For example, a When to use for an order-status lookup could read:

Example conversation
Use this action when the customer asks where their order is, when it will arrive,
or what the status of a specific order is. Do not use it for product questions
or for starting a return.

Select Continue to save a section and move to the next one. Each section shows a green check once it's complete.

Continue saves the section and opens the next one.

Example: a customer asks for a person

This example uses the Escalations Action with QwryAI as the Ticket Platform, turned on for the Chat bubble.

  1. The customer asks for help

    A shopper opens the Chat bubble on your store and writes "My parcel arrived damaged and I'd like to talk to someone."

  2. The agent picks the Action

    The agent checks which Actions are on for the Chat bubble. The request matches the When to use of create_ticket, so the agent calls it.

  3. The agent collects the details

    The agent gathers what the ticket needs, such as the customer's email and a description of the problem, either by asking in the chat or with a form, depending on how you set up Details collection.

  4. The ticket is created

    The ticket appears in Tickets for your team, and the customer sees a ticket card marked Submitted in the chat. From then on your team answers in the same chat, and the agent stops replying until the ticket is closed.

Channels

Every Action has a Channels section that controls where it's available. Channels appear in one of three states:

StateWhat it meansWhat you can do
Configured channelsThe channel is set up on your agent and the Action can run there.Turn the Action on or off for that channel with its switch.
Unconfigured channelsThe Action can run on this channel, but you haven't set the channel up yet.Select Setup to open that channel's settings in a new tab.
IncompatibleThe Action can't run on this channel at all.Nothing. Select channels in Some channels are incompatible with this action. to see the list.
Switch the Action on or off for each configured channel.

Configured and unconfigured describe your own setup, so the same Action shows a different split on different agents. Incompatible channels belong to the Action type: they never become selectable, however you set the channel up. For example, a Custom button can't appear on WhatsApp, because WhatsApp can't show it.

Select channels in the note to see where the Action can't run.

Only use in Procedures

Every Action has an Only use in Procedures switch next to When to use. Turn it on when the Action should run only as a step inside a Procedure, never on the agent's own initiative.

The Action still works, but the agent won't call it by its own judgment: it runs only when a Procedure step references it. Because the agent no longer decides when to use it, When to use is hidden and the editor explains why.

With Only use in Procedures on, When to use is hidden.

Use it for sensitive or high-control tools, such as refunds, cancellations or escalations, that should only run at the right point of a defined flow. See How Procedures run.

Actions vs. Procedures vs. instructions

What it controlsUse it forWhere
InstructionsHow the agent behaves in every conversation: tone, scope and rules"Always answer in a friendly tone," "Only discuss our products"Build › Instructions
ActionsOne thing the agent can do, such as create a ticket or call your APIAny task that needs data from, or a change in, another systemBuild › Actions
ProceduresAn ordered set of steps for one situation, which can call Actions along the wayMulti-step or high-stakes flows like refunds, where the order of steps mattersBuild › Procedures

For example, a refund request can go straight to an Escalations Action. If you want the agent to look up the order and ask for a photo first, put those steps in a Procedure, reference the Escalations Action in its last step, and turn on Only use in Procedures on that Action.

Manage your Actions

Saved Actions appear in My Actions. Each card shows the Action's name and type, a switch to turn it on or off, an options menu (⋯) and Customize, which reopens its editor.

Saved Actions appear in My Actions with an on/off switch.

Frequently asked questions

Why isn't my agent using an Action?

Check that the Action is enabled, turned on for the customer's channel, and that its When to use matches how customers phrase the request. If Only use in Procedures is on, a running Procedure has to reference it. Actions that save to the draft, such as Custom actions or Web search, also need Publish before customers can use them.

Can an Action fail?

It can, but an Action that's set up correctly shouldn't fail in normal use. An Action that depends on another system, such as a Custom action calling your API, can get an error back. When that happens the agent writes its own reply based on the error. Test each Action in the Preview beside its editor, and read real conversations in Inbox.

How many Actions can my agent have?

4 on Free and Starter, 12 on Growth, and no limit on Enterprise. The limit counts per agent. When you reach it, Create Action shows a notice with an upgrade option, and you can remove an Action to make room.

Can I turn an Action off without deleting it?

Yes. Use the switch on its card in My Actions, or the Enabled switch at the top of its editor. The Action keeps its settings and you can turn it back on at any time.

How do I test an Action?

Every Action editor has a Preview chat on the right. Send a message that should trigger the Action and check the reply. The Playground also uses your draft, so you can try Actions there before you Publish. Once it works, run Tests to check that the agent keeps calling the right Action.

Next steps

Explore the documentation