> For the complete documentation index, see [llms.txt](https://docs.giftcardfactory.app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.giftcardfactory.app/integrations/shopify-flow/actions.md).

# Actions

After installing Gift Card Factory, you will have access to 4 new actions in Shopify Flow:

* **Create Gift Card**
* **Create Gift Card V2**
* **Get Gift Card**
* **Disable Gift Card**

All actions use app credits. Anytime action is taken - app will use **one** Flow credit.

### Create Gift Card

This action is deprecated. Use **Create Gift Card V**2 instead

### Create Gift Card V2

This action creates native Shopify Gift Card and optionally sends it to selected customer.

<figure><img src="/files/iDTXb2cYdX7440wKkCut" alt="" width="355"><figcaption></figcaption></figure>

#### Action Options

* **Skip sending**: Create the gift card without sending it.
* **Recipient email**: Enter the recipient's email address.
* **Value**: Define the initial value in the store's main currency.
* **Message**: Include a custom message with the gift card email.
* **Days to expiry**: Specify the validity period in days from creation.
* **Expires on**: Set a fixed expiry date (format: YYYY-MM-DD). Ignored if Days to expiry field is set and different from 0
* **Days to send**: Dispatches the gift card after a set number of days. Ignored if Send on field is set.
* **Send on**: Schedule the exact date to send the gift card (format: YYYY-MM-DDTHH:mm:ss format, e.g. 2025-01-30T14:15:00)
* **Note**: Add internal notes, invisible to customers.

### Get Gift Card

The **Get Gift Card** action retrieves properties of a gift card. You need to provide the gift card ID. This action is useful for checking current gift card properties and planning subsequent actions.

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

### Disable Gift Card

To disable a gift card, provide its ID. For an example of usage, you might refer to our template flow: **Disable a Gift Card After First Use**.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.giftcardfactory.app/integrations/shopify-flow/actions.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
