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

# Shopify Flow Integration

After submitting the form successfully, the submission data will be sent to **Shopify Flow** as a JSON string.\
You can use this data to automate actions such as adding tags, sending emails, or triggering workflows.

***

### 🔧 Enable Shopify Flow

1\. Open the app > click **Forms** > open the form you want to edit

2\. Click the **Integration** icon on the left side > enable **Shopify** and click on **Shopify** option to see setting detail

<figure><img src="https://3488889492-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEGgRVSDpMlcGFz1igK0s%2Fuploads%2F5CizOTSWAPdBrDXphVoS%2Fimage.png?alt=media&amp;token=b1e35ce1-b71f-4426-96c3-16181fb7ac42" alt=""><figcaption></figcaption></figure>

3\. Select **Shopify Account options - Automatically create customer**&#x20;

<figure><img src="https://docs.powerfulform.com/~gitbook/image?url=https%3A%2F%2F3488889492-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FEGgRVSDpMlcGFz1igK0s%252Fuploads%252FcUUVGW4AzYzygXcrlljN%252F2025-04-23_15-30-01.png%3Falt%3Dmedia%26token%3D21198f0d-e27a-4e1f-b17c-75e4b58df55e&#x26;width=768&#x26;dpr=3&#x26;quality=100&#x26;sign=28628f9f&#x26;sv=2" alt=""><figcaption></figcaption></figure>

4\. Map form fields to Shopify Customer Fields

* On the right side, you’ll see Shopify customer attributes (Email, Phone, First Name, Last Name, Address, etc.).
* On the left, your form’s fields.

Map each form field to the corresponding Shopify attribute (e.g. “Email” → Shopify **Email**, “First name” → Shopify **First name**).

📌 **Important:** Mapping the form’s **Email** field to Shopify **Email** is required.

5. Scroll down and enable option **Enable Shopify Flow Trigger**

<figure><img src="https://3488889492-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEGgRVSDpMlcGFz1igK0s%2Fuploads%2FjwN8SXrz3dU2kadwKhPk%2F2026-06-23_13-56-48.png?alt=media&amp;token=ebaf7055-fe3c-44f0-a4c9-31fc2c1c08d2" alt=""><figcaption></figcaption></figure>

6. Click **Save** button

***

### ⚠️ Important Notes

Shopify Flow only triggers when a customer is created or updated. Make sure you select **Automatically create customer**

#### ❌ When Flow will NOT work

If you select **Require account approval**

* Customer is **not created immediately**
* Status = pending approval
* ➜ Shopify Flow will NOT trigger

***

### **✅** How it works

* Customer submit the form
* A new customer account is created or updated
* The system sends the submission data to **Shopify Flow** as a JSON string.\
  This includes all form fields (such as `email`, `name`, `phone`, `textarea`, etc.), which you can use in your Flow to automate processes like adding tags or sending notifications.

<figure><img src="https://3488889492-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEGgRVSDpMlcGFz1igK0s%2Fuploads%2F2gyO4v5RECi3TKlzyXBc%2FGemini_Generated_Image_60fpo560fpo560fp.png?alt=media&amp;token=28275d69-d6ba-4620-aa02-ef656be5462b" alt=""><figcaption></figcaption></figure>

***

### 🔧 How to get form data in Shopify Flow

After a form is submitted, Powerful Form Builder sends the submission data to Shopify Flow as a **JSON string**. To use each field separately, add a **Run code** action to parse the data.

#### Step 1: Add a Run code action

After the Customer submitted a form trigger (or after a Condition), click **Add action**, search for **Run code**, and select it.

<figure><img src="https://3488889492-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEGgRVSDpMlcGFz1igK0s%2Fuploads%2FdgKCMLpuQCZZAlhNmOTg%2Fimage.png?alt=media&amp;token=e5d7fffe-a737-4cc1-95e0-fab184598357" alt=""><figcaption></figcaption></figure>

#### Step 2: Configure Run code

1. Add the GraphQL query to retrieve:
   * Submission data
   * Form ID
   * Form name
2. Paste the JavaScript code to parse the JSON string.
3. Define the output schema.

<figure><img src="https://3488889492-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEGgRVSDpMlcGFz1igK0s%2Fuploads%2FDKofelT0WAXBKmdruHgQ%2Fimage.png?alt=media&amp;token=4637ddcc-82e1-44bb-86ac-b0b307c013f0" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3488889492-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEGgRVSDpMlcGFz1igK0s%2Fuploads%2FwPEX2qcoLMxRDSAzegWm%2F2026-07-13_17-44-52.png?alt=media&amp;token=c39fe4a6-5f9e-4677-b46d-ae61f3be5778" alt=""><figcaption></figcaption></figure>

#### Result

The **Run code** action returns the form submission as structured data instead of a JSON string.

You can use this output in the next Shopify Flow steps to:

* Send emails
* Send data to third-party services
* Call external APIs
* Create or update customers
* Build custom automations

<figure><img src="https://3488889492-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEGgRVSDpMlcGFz1igK0s%2Fuploads%2FQF9zNNzGXOorm6BySzEc%2Fimage.png?alt=media&amp;token=2f97123d-536e-4ca5-8ff9-10155c4cc225" alt=""><figcaption></figcaption></figure>

***

#### Need More Help?

If you still need assistance, please contact us at <contact@globo.io>. Our team will be happy to help you resolve any issues or guide you further.
