# Automation Flow - Did the Lead receive or open an email?

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

To create your automation, go to the automation flow builder, click on '**Trigger**' and then choose one of the options:

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXdkmd5vdt5dQr6c1xfAiikz80WEJba5_lKBWoRtvISNWAmoxGp5oLYelqvKZiXpdhtMfrAGeuSiKkazyWjbMjQU-aRj5A0OFChP1lDcWx7Hy6MgrL4WO21l9Z9zt-Fx9MZ9FcIjLA?key=iViWimax5hoN1u30XkPlSys7" alt=""><figcaption></figcaption></figure>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXeXucDIVovRKorMESsCapVxiEPnQvIcatOAn6SA3kvCuJj6Ke1uDXL5TZazrnjAj-nFpS-e11DdF-C-IgdUsZIqgID4mmlVGvxgLE2NiFDoJ8IozlC-qFuETC2V1YMQmJdtl5idlg?key=iViWimax5hoN1u30XkPlSys7" alt=""><figcaption></figcaption></figure>

Then choose which emails you want to be used in the automation. More than one email can be selected.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXdVfM6hiWJr_7nlxzpnOmv1kt9JhA08nWGg32E2qg8Dm1Haz3L1BCvzWOit9swKawyIVYHcb83jScOcbW7yNg77H9clGKcVOkgJr3NZnv8Sp0xN9mif46yW_C06ut3LlWYC8TqK1Q?key=iViWimax5hoN1u30XkPlSys7" alt=""><figcaption></figcaption></figure>

You can also set the times, days of the week and even how long the automation will be available

* **Only at specific hours?** \
  If this option is selected, decisions will only occur at the specific hours.
* **Only on specific days?** \
  If this option is selected, only decisions that occur on the specified weekdays will be considered.&#x20;

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXfjCbsquOywiblh23G9OpGqBrWrgA3pRJXaafxBvC_EDYiH7ny7mQVMAntCgK0NqTXqGUFOIHZzzqFDfSdxCwcv9lsL8zxged1VvvehAAcCCb_aALGY1VmvnrAXHVtdsM6ipJJJOA?key=iViWimax5hoN1u30XkPlSys7" alt=""><figcaption></figcaption></figure>

In the *example*, let's **Segment leads** who received and opened the specific emails. This will allow the flow to be more personalized, and we can provide the segmented lead with content related to what they showed interest in.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXeZh2mjVT0MD4eJe4iMFhS44ACtG_Hz9jjVM4KYj_BXw3N-X3App9mg4UQAmdoFuMKBb5K_XsVr7_p7OUPu3DgNSohNeuy-UYjBhT9a0_-vSgMhUtihwBJZjhw6LQrOXtUSyP7Z_w?key=iViWimax5hoN1u30XkPlSys7" alt=""><figcaption></figcaption></figure>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXeTjc5UJF6A-CRWzDs3jhd4I6-eKATCR8r7qiYiDmfmRFM8dex6XLXg7whVm8i5QjzrmSwYtzHk3MnYZgc7RXV1OYWujFHijYLrbRtE3SrPqhc-ERHyQPKOXf1TnbKn37kYlprV?key=iViWimax5hoN1u30XkPlSys7" alt=""><figcaption></figcaption></figure>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXcj61FVC_8dbMP6mX8sPwbf4GC4Cpxq8UrzKfaQwcUoT1UkOO_8Q5wsnsQr8VIqIh-Iefd0jRUKbEFbkpSy_0SliM8NAs6t61BcATkGeGCgfiR2XyKhoNlN4ix6P7dud8KD4Nz8-w?key=iViWimax5hoN1u30XkPlSys7" alt=""><figcaption></figcaption></figure>

Leads who click on emails are generally more engaged and more likely to interact with additional content. In short, automating flows based on "clicked an email" is an effective strategy to nurture leads and improve customer engagement.

Create your flow, and customize it however you prefer, adapting the conditions and actions that best fit your company.&#x20;


---

# 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/triggers/automation-flow-did-the-lead-receive-or-open-an-email.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.
