Watch Step By Step Video Tutorial Below
1. Setting Up Pabbly Connect for Email Automation
To start automating email writing, the first step is to set up Pabbly Connect. This platform allows you to connect various applications seamlessly. Begin by signing up on the Pabbly website and logging into your account.
Once logged in, navigate to the workflow builder. Click on the “App Trigger” button to select an application from where your leads will be fetched. For this tutorial, we will choose Google Ads as our source application.
2. Configuring Google Ads with Pabbly Connect
After selecting Google Ads, you need to copy your Web URL. This URL is essential for connecting your leads from Google Ads to Pabbly Connect. Go to your Google Ads campaign and paste this Web URL into the required field.
- Ensure you have added a lead form in your Google Ads campaign.
- Scroll down to find the “Lead Delivery” option.
- Paste the Web URL in the appropriate field and enter your key.
Click on “Send Test Data” to ensure that the connection is working correctly. Once the test data is sent successfully, you can proceed to capture the response in Pabbly Connect.
3. Adding OpenAI Action to Generate Emails
With the response captured, the next step is to add an action in Pabbly Connect. Select OpenAI and choose the ChatGPT event. This will allow you to generate emails automatically.
Click on the “Connect” button and then select “Add New Connection”. Here, you will need to input your OpenAI API token. To obtain this, go to the OpenAI API page and create a new secret key. Make sure to give it a name and set the necessary permissions.
- Create a new secret key in OpenAI.
- Select the project and set the expiration date for the token.
- Copy the generated token and paste it into Pabbly Connect.
Once connected, select GPT-6 from the AI model options. You will now create a prompt for the email generation process. This prompt will specify the details needed to generate the email content.
4. Mapping Lead Details for Dynamic Emails
In this step, you will map the lead details into your prompt. Begin by entering the lead’s name and other relevant information dynamically. This means the email will automatically adjust based on the lead’s specific details.
To map the data, use the slash command to pull information from previous steps. This functionality allows for dynamic content generation every time a new lead is received. Once everything is mapped, click on “Save and Send Test Request” to generate the email.
- Ensure all lead details are accurately mapped for dynamic content.
- Test the email generation to check for errors.
- Review the generated email content to ensure it meets your requirements.
After a brief wait, you will receive the generated email content formatted in HTML, ready to be sent to your leads.
5. Sending Emails via Gmail Using Pabbly Connect
Now that you have the email generated, the final step is to send it via Gmail. Select Gmail as your application and choose the “Send Email” event. Click on “Connect” and sign in with your Google account.
Once connected, fill in the sender’s name and the recipient’s email address. You can map the recipient’s email from the previous steps. Make sure to set the email content type as HTML to maintain the formatting of your email.
- Map the subject and email content from the previous steps.
- Add any necessary attachments or signatures if required.
- Click “Save and Send Test Request” to send the email.
After sending, verify in the sent section of your Gmail that the email has been dispatched successfully. This integration ensures that every lead receives timely and personalized emails automatically.
Conclusion
This tutorial demonstrated how to integrate Pabbly Connect with URL and HTML to automate email writing using GPT-6 Astra. With this setup, you can efficiently manage your email communications!



