# Send Email

In Tiledesk, you have plenty of actions that make your conversation flow more natural. Some of these actions also automate the human agent’s workflows.&#x20;

One such action is “Send Email”.  This action is helpful for businesses from different industries.&#x20;

Imagine an e-commerce site that requests a lead’s email address and automatically sends a promo code via email. Alternatively, consider a business that needs to send a confirmation email to its customers.

All these processes can be automated simply, with no human action required.

Okay, let’s dive into it.

First, you need to head to the [Tiledesk dashboard](https://panel.tiledesk.com/v3/dashboard/#/signup) and then select the bot you want to use. Enter the Design Studio.

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

To explain this action, I will create a very simple flow to show you how it works.&#x20;

First, I will add “[Capture User Reply](/ai-chatbots-and-automation/actions-explained/capture-user-reply-action.md)” to ask for leads’ contact email addresses, as you can see in the image below:

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

Then, drag the “Send Email” action from the right-side menu and create a new [Block](https://gethelp.tiledesk.com/articles/how-to-create-blocks/) for it.&#x20;

<figure><img src="/files/5hnIbU0Ds19KGPKRdPwn" alt=""><figcaption></figcaption></figure>

By clicking on the “Send Email” action, a popup setting will appear on the right side of the page. From there, you can define the email address to which you want to send the email (which we asked before).&#x20;

By clicking on the attribute icon, you need to select .

For the subject of the email, I will say “Tiledesk Support Team”.

The next placeholder is "Reply To", which means if the user replies to your email, it specifies which email address will receive the user’s response.

And the last one is the “Body”, where I simply write:&#x20;

*Dear ,*&#x20;

*Here is your discount code: TY2024.*&#x20;

*Best regards,*&#x20;

*Saeid and the Tiledesk Team.*

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

\
I will add another Block to finish the conversation with the final message and “Wait” and “Close” actions.

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

That’s all, this flow will ask for the user’s email and share an email with a promo code right away, as you can see in the image below:

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

Hope you find it helpful. If you need further assistance, contact us via <support@tiledesk.com>.

If you need an AI agent that truly saves on your customer and human agent time, [**start here**](https://panel.tiledesk.com/v3/dashboard/#/signup).

To get more information about our services, visit: [www.tiledesk.com](https://tiledesk.com/)


---

# 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://guide.tiledesk.com/ai-chatbots-and-automation/actions-explained/send-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.
