> For the complete documentation index, see [llms.txt](https://docs.praiz.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.praiz.io/automate/smart-actions.md). Agents can also search and read this documentation through its [MCP server](https://docs.praiz.io/~gitbook/mcp).

# Smart Actions

Deliver an agent's output automatically after every call: by email, on Slack, every time or under a condition.

{% hint style="info" %}
Before you start: you must be an admin, and have an agent imported or created in your workspace. See [Using an agent](https://docs.praiz.io/ai-agents/using-an-agent.md).
{% endhint %}

## The available actions

| Action                      | What it does                                                                                                                                                                   |
| --------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| "Email participants"        | Sends the output to the call's external participants (customers, prospects). The host and your colleagues do not receive it. "Also send to the host" option for the organizer. |
| "Email the call host"       | Sends the output to the organizer of the call.                                                                                                                                 |
| "Email specific recipients" | Sends the output to one to five email addresses of your choice, for example a manager who was not on the call. The host and the participants do not receive it.                |
| "Post to Slack"             | Posts the output to a Slack channel. Requires the Slack integration.                                                                                                           |

Filling in your CRM fields does not go through a Smart Action. It is set field by field in the agent's configuration. See [CRM sync](https://docs.praiz.io/automate/crm-sync.md).

## Set up a Smart Action

1. From the "AI Agents" section, click "Configure" on the agent concerned.
2. Open "Smart Actions".
3. In "Add an action", choose one of the four actions: "Email participants", "Email the call host", "Email specific recipients" or "Post to Slack".
4. For an email, fill in the subject ("Email subject (optional)") if needed. You can insert these variables, replaced when the email is sent:
   * `{{call_title}}`: the call title
   * `{{call_date}}`: the call date
   * `{{host_name}}`: the call host
   * `{{participants}}`: the call participants
   * `{{agent_name}}`: the agent's name
5. For "Email specific recipients", enter one to five email addresses, separated by commas, under "Recipients".
6. Add conditions if the action should not run on every call (see below). With no condition, Praiz runs the action every time the agent runs.
7. Turn the action on with the toggle.

![Smart Actions of an agent with the Add an action buttons](https://3785996597-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtOw7B6Sc94pXU8vLJs0a%2Fuploads%2FLJ5biOWsXiKHTWCAATeJ%2Fen-24-smart-actions-empty.png?alt=media)

What to expect: after every call that meets the conditions, Praiz automatically sends the agent's output to the recipients you chose.

## Conditional triggering

The "Conditions" section limits the action to the calls that meet every condition. Four types:

* "Title contains…": the meeting title contains a word.
* "Transcript contains…": the transcript contains a word.
* "Field value": a field extracted by the agent has a given value (for example "Competitors mentioned" contains the name of a specific competitor).
* "Meeting: internal/external…": the meeting is internal or external.

![Conditions section of a Smart Action](https://3785996597-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtOw7B6Sc94pXU8vLJs0a%2Fuploads%2Feij2TbKJJR7IEyK3BCTx%2Fen-25-smart-actions-conditions.png?alt=media)

Example: Praiz posts to Slack only if the "Churn risk" field is "high", and not after every customer call.

{% hint style="info" %}
"Email participants" sends the output to the external people who were on the call. Keep this action for an agent designed to be read by a customer (summary, next steps), never for a scoring or coaching agent.
{% endhint %}

## Examples

| Situation                                          | Smart Action                                                                 |
| -------------------------------------------------- | ---------------------------------------------------------------------------- |
| End of a sales call                                | The summary goes out by email to the participants                            |
| A competitor is mentioned                          | The signal is posted to the sales team's Slack channel                       |
| A churn signal is detected                         | A message goes to the CSM in charge of the account                           |
| End of a candidate interview                       | The summary is sent to you by email                                          |
| A manager who was not on the call needs to read it | The output goes to their email address, without the host or the participants |

## Smart Actions or Recurring Insights

* A call triggers a Smart Action. It sends the output of that call right away.
* A Recurring Insight is periodic. It aggregates all of your conversations at a regular interval. See [Recurring Insights](https://docs.praiz.io/automate/recurring-insights.md).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.praiz.io/automate/smart-actions.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
