# How to add 'Add to Calendar' Event to emails?

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

## What is an “Add to calendar” link

An **“Add to calendar”** link allows email recipients to instantly add an event (including date, time, location, and details) to their calendar platform, such as:

* Google calendar
* Apple calendar
* Outlook calendar

The link can either:

* Open a pre-filled Google Calendar event page, or
* Download a `.ics` file that works across most calendar applications.

## Steps to add “add to calendar” to emails

{% stepper %}
{% step %}

### Grab the calendar link

First, **copy the calendar URL** you want to share in your email. Here’s how you can get the link from different calendars:

<details open>

<summary>🗓️ Google calender</summary>

First, create an event in Google Calendar, then click on the event you created and select **Publish event.**

{% hint style="warning" %}
Don’t forget to make the event public by going to **Settings**, selecting the event, and checking the **Make available to public** box.
{% endhint %}

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

In the pop-up window, click **Copy** next to **Link to event.**

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

</details>

<details>

<summary>📅 Apple/Outlook calendar</summary>

Create an event in your calendar, **drag and drop it onto your desktop** to generate a **.ics file**.

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

Go to **Shopify > Content > Files**, upload the .ics file, and copy the file link.

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

</details>
{% endstep %}

{% step %}

### Add the calendar link to your email

Now, paste the link you copied into the **link field** of a button, image, or even hyperlink the text.

<figure><img src="/files/hwXed9ReKZ0dLlbFOpgZ" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### The event has been successfully added to your email! 🎉

Once you've added the link, don’t forget to **hit Save** and **apply the changes**.

Make sure to **test your email** to check if the calendar event is working properly!

{% hint style="info" %}
Learn more: [Preview and test your email](/xflow-app/email-templates/preview-and-test-your-email.md)
{% endhint %}

<figure><img src="/files/nSMch6ATUOmUw09qwtnh" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}

***

#### 📩 **Need help?**

We’re here to make your XFlow experience smooth and successful.\
Our support team is always ready to assist you—no matter how big or small your question is.

<a href="https://admin.shopify.com/apps/xflow?chat=true&#x26;utm_source=foxecom&#x26;utm_medium=help_center_xflow_how_to_add_add_to_calendar_event_to_emails&#x26;utm_campaign=cta_button&#x26;utm_term=chat_now" class="button primary" data-icon="comment-lines">Chat now</a> <a href="mailto:contact@help.xflow.so" class="button secondary" data-icon="envelopes">Message us</a>


---

# 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.foxecom.com/xflow-app/email-templates/email-templates-faqs/how-to-add-add-to-calendar-event-to-emails.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.
