# Automation Flows - Triggering messages via the Switch

In this article, we will explore how to create an automation flow in SprintHub to send mass messages in a strategic and safe way.\
\
We will use a **segment with smart filter**, which automatically adds leads with a valid WhatsApp, ensuring the qualification of the target audience.\
In addition, we will configure the flow using the alt**ernator and the wait block, f**undamental tools to space out sends and avoid platform penalties.

At the end of this guide, you will be able to implement this strategy in SprintHub, optimizing your communication and expanding the reach of your messages without compromising your account's reputation.\
\
Check the following:

{% embed url="<https://youtu.be/UZdQRFNsx4c>" %}


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.sprinthub.com/en/topics/relate/automation-flows/tutorial-videos/automation-flows-triggering-messages-through-the-switch.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
