Automate Shopify orders from Airtable with Gmail confirmations
This n8n template from Intuz provides a complete solution to automate your order creation process. It seamlessly syncs order data from an Airtable base directly to your Shopify store, creates the official order, and automatically sends a beautiful confirmation email to the customer, closing the loop by updating the status in Airtable. Who's this workflow for? E-commerce Managers Operations Teams Businesses with Custom Order Processes (e.g., B2B, phone orders, quotes) Shopify Store Owners using Airtable as a CRM How it works Triggered from Airtable: The workflow starts instantly when an Airtable Automation sends a signal via a webhook. This happens when you mark an order as ready to be processed in your Airtable base. Fetch Order Details: n8n receives the record ID from Airtable and fetches the complete order details, including customer information and the specific line items for that order. Create Order in Shopify: All the gathered information is used to create a new, official order directly in your Shopify store. Send Confirmation Email: Once the order is successfully created in Shopify, a professionally formatted HTML order confirmation email is sent to the customer via Gmail. Update Airtable Status: Finally, the workflow updates the original order record in Airtable, marking its status as "Done" to prevent duplicate processing and keep your records in sync. Key Requirements to Use This Template n8n Instance: An active n8n account (Cloud or self-hosted). Airtable Base: An Airtable base on a "Pro" plan or higher (required for Airtable Automations). It should contain tables for Orders and Order Line Items. Shopify Store: An active Shopify store with API access permissions. Gmail Account: A Gmail account to send confirmation emails. Setup Instructions Configure the n8n Workflow: Webhook Node: Activate the workflow to get the Production URL from the "Webhook" node. Copy this URL. Airtable Nodes: In the Get a record and Update record nodes, connect your Airtable credentials and select the correct Base and Table IDs. Shopify Node: In the Create an order node, connect your Shopify store using OAuth2 credentials. Gmail Node: In the Send a message node, connect your Gmail account. Set Up the Airtable Automation (Crucial Step): Go to your Airtable base and click on "Automations". Create a new automation. For the trigger, select "When a record meets conditions". Choose your Orders table and set a condition that makes sense for you (e.g., When "Shopify Ordered" is "Pending"). For the action, choose "Run a script". Paste the code below into the script editor: JavaScript const inputConfig = input.config(); const recordId = inputConfig.recordId; const webhookUrl = 'PASTEYOURN8NPRODUCTIONURL_HERE'; await fetch(webhookUrl, { method: 'POST', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify({ recordId: recordId }), }); ReplacePASTEYOURN8NPRODUCTIONURL_HERE with the Production URL you copied from n8n. Add an input variable to the script named recordId and set its value to the "Airtable record ID" from the trigger step. Test the script and turn your Airtable Automation ON. Connect with us Website: https://www.intuz.com/services Email: getstarted@intuz.com LinkedIn: https://www.linkedin.com/company/intuz Get Started: https://n8n.partnerlinks.io/intuz For Custom Workflow Automation Click here- Get Started
Generate workflows from natural language using GPT-4o Mini and n8nBuilder API
π€ AI-Powered n8n Workflow Generator with n8nBuilder API Overview This workflow lets you generate complete n8n workflows from natural language descriptions using the n8nBuilder API. π Users submit a short description via a form, and the workflow returns a ready-to-import n8n workflow JSON. Why use it? β‘ AI-generated workflows from natural language π οΈ Production-ready patterns (triggers, error handling, best practices) π― Perfect for beginners who don't know which nodes to pick π Two modes: Form-based and AI Chat Agent --- Prerequisites π n8nBuilder account + API token β Get your free token at n8nbuilder.dev π’ An n8n instance (Cloud or self-hosted) π€ OpenAI API Key (Optional - to use with AI Agents) β οΈ Important: Never expose your API key in public workflows. Use n8n Credentials for production setups. --- Setup Instructions Get your n8nBuilder API token Visit n8nbuilder.dev Sign up or log in to your account Navigate to Account β API to generate your token Configure the Form The Form Trigger collects: api_token (required) β Your n8nBuilder API token email (required) β Your email address query (required) β Natural language description of the workflow (e.g., "Read RSS from https://n8nbuilder.dev/blog/feed.xml every hour and send Slack message if new post arrives") Workflow Execution User fills the form and submits Workflow sends a POST request to https://api.n8nbuilder.dev/api/generate n8nBuilder API processes the request and generates a complete workflow Response is cleaned and formatted User receives the generated workflow JSON ready to import Outputs The workflow returns: output β Complete n8n workflow JSON ready to import π‘ Tip: Copy the generated JSON and import it directly into your n8n instance via Settings β Workflows β Import from File. --- Customization Tips π Write clear descriptions: The more specific your query, the better the generated workflow π¨ Try different use cases: Data transformation, API integrations, scheduled tasks, webhooks, etc. π§ Edit after generation: Generated workflows are production-ready but you can always customize them further π€ Use AI Chat mode: Enable the AI Agent for conversational workflow generation --- Alternative: Use the n8nBuilder Community Node π Optional: Install the n8n-nodes-n8nbuilder community node if you prefer using a dedicated node instead of raw HTTP. See: GitHub Repository --- Troubleshooting 401/403 Unauthorized β Check your API token in the form Invalid JSON β Ensure your email and query are properly filled No output returned β Verify your API token is valid and active Slow response β Complex workflows may take a few seconds to generate --- Security Best Practices π Do not hardcode API tokens in public workflows π Use n8n Credentials for storing tokens securely π‘οΈ Keep your API token private and regenerate if compromised --- Learn More π n8nBuilder Documentation