> For the complete documentation index, see [llms.txt](https://docs.globo.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.globo.io/options/automation-function/automations-function.md).

# Automations Function

This functions allows creating a workflow for **Email notification, Order notes update, Order tags update.**

**📧 1. Email Notification**

When a customer places an order that includes **Globo options**, the system automatically sends a notification email.

* 🖼️ **Preview Template** – See a preview of the email content.
* ✏️ **Edit Template** – Customize the email from the **Edit Code** tab.
* 🌐 **Send From Your Domain** – Set up **Mail SMTP & API** to send from your own domain.

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

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

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

**📝 2. Order Notes Update**

After an order is placed with Globo options, the app updates the **Order Notes** to reflect selected options.

* 🧩 **Customizable Content** – Use **Liquid variables** to personalize the note.
* 🔒 **Preserve Existing Notes** – Enable **“Keep existing order notes”** to **append** new info instead of overwriting.

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

**🏷️ 3. Order Tags Update**

Automatically apply tags to orders based on Globo option selections.

* 📌 **General Tags** – Add a tag to all orders with any Globo option.
* 🎯 **Specific Tags** – Apply tags when specific elements or options are selected by the customer.

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

📧 **Need Help?**\
If you run into any issues while setting up your option set, feel free to reach out to us at **Chat** or email [**contact@globo.io**](mailto:contact@globo.io)**.**

We’re always here and happy to help — with sincerity and care!\
&#x20;
