# SAC 360° Automation - Create an Opportunity when a Lead sends a specific message

This automation is responsible for creating an opportunity as soon as the lead sends a specific message. Follow the step-by-step:<br>

1\) Inside the SAC, click on the automations icon:

<figure><img src="/files/09cdd51f5a1a682aa7094c684d4f30e47c291c6b" alt=""><figcaption></figcaption></figure>

2\) Create a new automation, set a title for it and configure the following trigger:\
\
**The contact sends a message > containing > "define the message"**

If you want, you can also limit the channels in which you want this automation to work.

<figure><img src="/files/8bd684eb53b1d2d4b3ad7ca9b92d3b4690380eed" alt=""><figcaption></figcaption></figure>

3\) Add a Create Opportunity Action.

<figure><img src="/files/ab232ad273167140a48e6a0f9a3970954203593c" alt=""><figcaption></figcaption></figure>

4\) Configure the Opportunity however you prefer.

<figure><img src="/files/7bf72efc92700b5ba25e59707cc873d7f848be1b" alt=""><figcaption></figcaption></figure>

5\) Additional settings

<figure><img src="/files/7411b08b4e9edbfd3958bc03806814b7936194d9" alt=""><figcaption></figcaption></figure>

You can configure it in the way that best suits you, but I recommend the following:

* No repeats.\
  Limit to the In service status.\
  Only one trigger per contact.

Once done, just save and run the tests.


---

# 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/general/sac-360/sac-360o-automations/sac-360-automation-communication-between-sac-and-crm/sac-360-automation-create-opportunity-when-lead-sends-a-specific-message.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.
