Automated Workflows
Automate your post-form tasks with workflows that instantly trigger unlimited actions.
New FeatureEnable forms to be filled out by voice!
Formyra Shopify Integration
Shopify
Formyra
November 4, 2026
Imagine a cart abandonment email that arrives with the exact items a shopper left behind, plus a friendly follow-up that asks one clarifying question before offering a discount. That’s the sort of automation you can build when you’re integrating Formyra with Shopify.
If you searched for "Integrating Formyra with Shopify," the short answer is yes: you can connect Formyra forms to Shopify via workflows and webhooks to create customers, tag orders, generate draft orders, and trigger post-purchase automations. Below is a practical, realistic walkthrough you can follow today.
Start with a clear use case. Common ones are cart recovery, post-purchase feedback, returns and exchanges, pre-order interest capture, and customer support intake tied to orders.
Knowing this upfront keeps the integration clean and avoids unnecessary API permissions.
Create a Formyra form that collects the inputs you planned. Add hidden fields for data you’ll pass from Shopify, like cart_token or order_id. Use Formyra’s AI-driven conditional logic to ask follow-up questions based on the shopper's answers, so your submissions are higher quality.
Enable spam filtering so false or bot submissions don’t trigger workflows in Shopify.
Drop the Formyra embed on a Shopify page, product template, or a custom section in your theme. For most stores you’ll paste the embed snippet into an Online Store > Themes > Edit code section or add it through a page/section that accepts custom HTML. If you need the form to appear in the cart drawer, add the snippet to the cart template.
Tip: include hidden inputs or use JavaScript to pass dynamic values (cart items, cart token, current URL, UTM) into the form at time of submission. That preserves context for later automation.
Formyra workflows can call external APIs. Use that to hit the Shopify Admin API and perform actions you need. Create a custom app in Shopify Admin to get an access token with proper scopes, or use a middleware service if you prefer not to expose Admin credentials directly.
Example API call you might trigger from a Formyra workflow: POST a customer to Shopify using the REST Admin API:
POST https://{shop}.myshopify.com/admin/api/2024-07/customers.json
Headers: Authorization: Bearer {access_token}, Content-Type: application/json
Body: { "customer": { "email": "{email}", "first_name": "{first_name}", "tags": "formyra,lead" } }
Replace placeholders with your form fields using Formyra’s workflow template variables. If you need to create a draft order for cart recovery, call the draft orders endpoint and attach the cart items you captured from the page.
If Shopify needs to notify Formyra or your middleware (for example, when an order is paid and you want to close a support ticket), configure Shopify webhooks and verify them server-side. Shopify sends an HMAC header you should verify with your app secret to avoid spoofed requests.
Formyra can accept incoming webhooks into a workflow trigger. Verify the payload, then map it to updates inside Formyra (mark submission handled, send internal notification, etc.).
Decide where you’ll store cross-system context. Common patterns:
These patterns make future automation simpler and debuggable.
Test the entire chain: submit the form, confirm the customer is created or updated in Shopify, verify tags and metafields, and track any emails or draft orders. Use Shopify’s API logs and Formyra’s workflow run history to troubleshoot failed calls.
Common issues to watch for: missing scopes on your Shopify app, field mismatches (email format), and rate limits if you send many requests at once. Shopify applies API rate limits; batch operations or queueing from Formyra workflows can help.
Integrating Formyra with Shopify isn’t magic. It’s a series of predictable steps: capture the right data, pass it securely, and automate the actions that matter. Do that, and a simple form becomes a point of conversion, a customer support intake, or a win-back engine.
Sign up now to experience the next generation of contact forms with Formyra!