> 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/bulk-operations/autogenerate.md).

# Autogenerate

With autogenerate you can quickly generate any number of gift card codes. After creation you can have the codes emailed to you, made available as a downloadable file, or both.

### 💡 **Common Use Cases**

* **Partner Stores**: Collaborate with third-party sellers to distribute gift cards for resale or promotions, expanding your market reach.
* **Printed Gift Cards**: Create physical gift cards with unique codes for distribution in retail locations or events as tangible reminders for redemption.
* **Giveaways & Contests**: Use gift cards as prizes in online contests or social media campaigns to boost brand visibility and attract new customers.
* **Influencer Campaigns**: Send gift cards to influencers to try your products and promote your store, reaching broader audiences through their credibility.

These strategies make gift cards a key component of your promotional efforts, helping to engage customers and drive sales.

### **📝 Form Fields Explained**

<figure><img src="/files/8MLfVQ2xgMkn18H9KUzZ" alt=""><figcaption></figcaption></figure>

* **Value**: The initial balance of each gift card.
* **Currency**: Shown only when your store has market currencies enabled besides the store currency. Pick the store currency or any market currency from the dropdown next to the value. Only these currencies are offered — gift cards issued in a currency that isn't enabled in your Markets settings can't be redeemed.
* **Redemption in**: Shown when a market currency (other than the store currency) is selected:

  * **All currencies** — the balance is converted with spot exchange rates when the card is redeemed in another currency.
  * **Issued currency only** (default) — the card can only be redeemed for purchases in the currency it was issued in.

  Gift cards issued in the **store currency** are always redeemable in any currency — exchange rates are determined at checkout using your Market settings.
* **Count**: The number of gift cards you want to generate.
* **Code Length**: The number of characters in each code (between **8 and 16**).\
  Codes consist of random **letters and numbers**.
* **Gift card expiry**: Choose one of three options:
  * **Gift cards never expire** — codes have no expiration.
  * **Gift cards expire relative to creation date** — set a duration in days, weeks, months, or years from the moment each card is created.
  * **Gift cards expire on a specific date** — pick an exact calendar date.
* **Internal Note**: A private note attached to the gift card.\
  This is **only visible to store staff**, not customers. Maximum length is 255 characters.
* **Prefix**: Optional. Enable the **Prefix gift card** checkbox to add a fixed prefix to every generated code.\
  Up to **4 characters**, alphanumeric (`a-z`, `0-9`) only.

### **📤 Internal Delivery Options**

After the codes are generated you can choose how to receive them:

* **Allow gift cards data download**: Creates a download link in the **Bulk Operations** section. The link expires after **3 days** and is accessible to anyone with access to the app.
* **Send internal email with all generated gift cards codes**: Sends the full list of codes to an email address you specify. You can enter multiple addresses separated by a comma.

You can enable either option, both, or neither.

### **▶️ Running the Operation**

Two buttons are available at the bottom of the form:

* **Create now**: Runs the operation immediately.
* **Schedule**: Runs the operation at a future date and time you select.

### **FAQ**

**I didn't receive the email with my gift cards. What should I do?**\
First, check your spam or junk folder.\
If you still can't find it, please contact us at **<support@code57.pl>** for help
