> ## Documentation Index
> Fetch the complete documentation index at: https://fromhazel.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Connect an Action and Trigger a Follow-Up

> Connect a provider like Slack or Klaviyo, ask Hazel to analyze something, and have her take a follow-up action, such as posting a summary to Slack, with your approval.

## From an answer to a next step

Most of what Hazel does ends with an answer in the chat. Actions close the loop: once a provider is connected, you can ask Hazel to analyze something and then hand off the result, like posting a summary to Slack or flagging a segment in Klaviyo, without leaving the conversation.

This tutorial walks through that loop end to end, using the same fictional brand from [Your First Week with Hazel](https://fromhazel.ai/docs/tutorials/first-week-with-hazel.md), **Summit Supply Co.** Their repeat purchase rate just dipped, and instead of digging into it manually and then writing up a Slack post by hand, they let Hazel do both.

## Step 1: Connect a provider

**1. Open Integrations > Actions**

In the side nav, go to **Integrations > Actions**.

**2. Find Slack (or Klaviyo)**

Use the search box, or scroll to find the provider's card. Summit Supply Co. connects **Slack**, since that's where they want the follow-up summary to land. You'd do the same for Klaviyo if the follow-up were a campaign or segment update instead.

**3. Connect and authorize**

Click **Connect** on the provider's card and sign in when prompted. New connections come in set to **Ask first** by default: Hazel can read right away, but every write waits for your approval until you change that.

Read more about permission modes and scope flags on the [Actions](https://fromhazel.ai/docs/features/actions.md) page. This tutorial assumes the default, **Ask first**.

## Step 2: Check it's on in the composer

A newly connected provider starts switched on. You can check, or turn it off, from the composer, right where you're about to use it.

**1. Open the composer menu**

Click the **+** next to the message box.

**2. Open Actions**

Select **Actions** from the menu to see every provider you've connected.

**3. Flip the switch**

Make sure **Slack** is toggled on. The switch is saved for you, not per conversation, so it stays on across all your chats until you turn it back off.

## Step 3: Ask Hazel to analyze something

With Slack enabled, ask the question you actually care about. Summit Supply Co. noticed repeat purchase looked soft, so that's where they start:

```
Our repeat purchase rate looks like it dropped this month. Can you dig into why, and post a summary to #retention on Slack?
```

Hazel answers the analysis part the way she always does: she queries your connected data, figures out what changed (a cohort, a channel, a product line), and gives you a normal chat response first. The Slack post is the follow-up step, and it only happens because Slack is enabled and named in the ask. If you leave the request as just the analysis question, Hazel answers in chat and stops there.

## Step 4: Approve the follow-up action

Because Slack is set to **Ask first**, Hazel pauses before she posts anything and shows you a card in the transcript:

* The card's header names the tool Hazel is about to call, with **Hazel wants to run this Slack tool on your behalf** underneath it
* **View input**: an expandable section showing the exact message she plans to send, so you're not approving a mystery
* **Deny** or **Approve & run**: your call, right there in the conversation

Approve it, and Hazel posts the summary to #retention and confirms in the thread. Deny it, and nothing goes to Slack: Hazel won't retry on her own.

If Hazel needs to make several similar calls in a row to finish the job (updating a few Klaviyo profiles, say), one approval covers the rest of that response. She asks again fresh on your next message.

> [!TIP]
>
> Want a specific tool to stop asking? On the approval card, use the mode dropdown to set that individual tool to **Run automatically** or **Never allow**, instead of changing the whole provider's permission mode. That dropdown only shows up until the tool has its own setting; once you've picked one, the card just shows **Deny** and **Approve & run**.

## Step 5 (optional): Put it on a schedule

Once you've got the analysis-and-post pattern working the way you want, turn it into a recurring [scheduled report](https://fromhazel.ai/docs/features/scheduled-reports.md):

```
Turn this into a weekly schedule, every Monday at 8 AM ET, same thread.
```

Hazel shows you a confirmation card with the resolved cadence and the full instructions before creating anything.

> [!NOTE]
>
> Scheduled runs are unattended: there's no one around to click **Approve**. Any action tool set to **Ask first** is skipped automatically on a scheduled run, so only read-only tools and tools running on autopilot actually execute. **Autopilot** is a provider-wide setting, in the provider's settings sheet under Integrations > Actions. To let just the Slack post skip approval without putting the whole Slack connection on autopilot, set that one tool's mode instead: choose **Run automatically** from the approval card's mode dropdown in Step 4, or **Auto** from the tool's row in the provider's settings sheet.

## What you'll get

Following this tutorial with your own numbers gets you:

* Slack (or Klaviyo) connected and available in chat, without leaving the conversation to configure it
* A repeatable pattern: ask a real question, get an answer, then let Hazel act on it in the tool you already use
* Full visibility into every write before it happens, with a plain approve/deny decision each time
* Optionally, that whole loop running on autopilot on a schedule, once you trust the follow-up step enough to stop approving it by hand

***

**Next up:** Read the full [Actions](https://fromhazel.ai/docs/features/actions.md) reference for permission modes, scope flags, and the full provider list, or see [Scheduled Reports](https://fromhazel.ai/docs/features/scheduled-reports.md) for everything schedules can do.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.