Learn how to automate sending engaging HTML emails using Pabbly Connect, integrating Shopify, OpenAI, and Gmail for seamless email marketing. This comprehensive guide reveals exactly how to connect your applications and automate repetitive tasks — accessible for professionals of all technical backgrounds.
Watch Step By Step Video Tutorial Below
1. Accessing Pabbly Connect for Email Automation
To start generating and sending engaging HTML emails automatically, you first need to access Pabbly Connect. Simply go to Pabbly.com/connect in your browser.
Once there, you will see options to either sign in or sign up. New users can click on ‘Sign Up Free’ to get 100 free tasks each month. Existing users should sign in using their credentials. This step is essential to utilize the powerful automation capabilities of Pabbly Connect.
2. Creating a Workflow in Pabbly Connect
After signing in, you will be directed to the Pabbly apps window. Here, select Pabbly Connect and click on ‘Access Now’ to reach the dashboard. To create a new workflow, click on the ‘Create’ button.
- Choose between the new beta version or classic.
- Select the beta version for modern features.
- Name your workflow (e.g., ‘Generate and Send Engaging HTML Emails Automatically Using AI’).
Once you create the workflow, remember that each automation consists of triggers and actions. In this case, you will set a trigger for when a new order is placed in Shopify.
3. Setting Up the Trigger with Shopify
To initiate the automation, select Shopify as the trigger application and the event as ‘New Order’. Click on connect, and you will receive a webhook URL from Pabbly Connect.
Next, log into your Shopify account and navigate to Settings > Notifications. Here, add a new webhook for order creation, selecting JSON as the format. Paste the webhook URL you received from Pabbly Connect and save the settings. This setup allows Pabbly Connect to listen for new orders placed in your Shopify store.
4. Generating HTML Emails Using OpenAI
Once the trigger is set up, the next step is to generate personalized HTML emails using OpenAI. In Pabbly Connect, add an action step and select OpenAI with the event as Chat GPT. Click on connect and enter your API key to establish the connection.
- Choose the model (e.g., GPT-5) for generating the content.
- Input the prompt with customer details, order ID, and product name.
- Map the data received from the Shopify trigger to personalize the email.
After setting up the action, click on ‘Save and Send Test Request’. This will generate the HTML content which will be used in the email.
5. Sending Emails via Gmail
Finally, to send the generated HTML email, add another action step in Pabbly Connect and select Gmail as the action application. Choose the event as ‘Send Email’ and connect your Gmail account.
Fill in the required fields: set the sender name and recipient email (mapped from the previous steps), and enter the subject line (e.g., ‘Thanks for Your Purchase’). For the email content, select the HTML content generated by OpenAI. Make sure to set the content type as HTML before sending the email.
Conclusion
In this tutorial, we explored how to generate and send engaging HTML emails automatically using AI with Pabbly Connect. By integrating Shopify, OpenAI, and Gmail, you can streamline your email marketing efforts effectively. This automation not only enhances customer engagement but also saves time and resources.
Ensure you check out Pabbly Connect to create business automation workflows and reduce manual tasks. Pabbly Connect currently offer integration with 2,000+ applications.
- Check out Pabbly Connect – Automate your business workflows effortlessly!
- Sign Up Free – Start your journey with ease!
- 10,000+ Video Tutorials – Learn step by step!
- Join Pabbly Facebook Group – Connect with 21,000+ like minded people!



