Learn how to integrate Google Ads with MongoDB using Pabbly Connect. Automate lead management effortlessly with this step-by-step tutorial. Follow this definitive guide to creating powerful automated workflows with straightforward, efficiency-focused solutions that save valuable time.

Watch Step By Step Video Tutorial Below


1. Setting Up Pabbly Connect for Google Ads and MongoDB Integration

To add Google Ads leads in MongoDB, the first step is to set up Pabbly Connect. This platform allows seamless integration between Google Ads and MongoDB, automating the lead management process. Start by signing up for a free Pabbly Connect account, which can be done in just a few minutes.

After logging into your Pabbly Connect dashboard, create a new workflow for your integration. Click on the ‘Create Workflow’ button, give it a name such as ‘Google Ads to MongoDB’, and select a folder for your automation. This sets the stage for connecting your Google Ads leads to your MongoDB database.


2. Configuring Google Ads Trigger in Pabbly Connect

Next, you need to set up the trigger in Pabbly Connect to capture new leads from Google Ads. Search for Google Ads in the app chooser and select it. Set the trigger event to ‘New Lead Form Entry’. This step is crucial as it enables Pabbly Connect to listen for new leads generated by your Google Ads lead form.

  • Select the Google Ads app in Pabbly Connect.
  • Choose ‘New Lead Form Entry’ as the trigger event.
  • Copy the webhook URL provided by Pabbly Connect.

Once you have the webhook URL, go to your Google Ads lead form settings and paste the URL under the lead delivery options. Additionally, enter the last ID of the webhook URL in the key field. This setup ensures that whenever a new lead is generated, Pabbly Connect will receive the lead details automatically.


3. Testing the Google Ads Lead Configuration

After configuring the trigger, it’s important to test the setup. Click on ‘Send Test Data’ in Pabbly Connect to verify that the connection is working properly. Pabbly Connect will then receive a test lead entry from Google Ads, which will confirm that your webhook is properly set up. using Pabbly Connect

Upon successful testing, you should see the details of the test lead in your Pabbly Connect workflow. This includes essential information like name, email, phone number, and lead ID. If you see these details, it indicates that your Google Ads lead form is now integrated with Pabbly Connect and ready for live data.


4. Connecting MongoDB to Pabbly Connect

The next step involves connecting MongoDB to Pabbly Connect. In the action step of your workflow, search for MongoDB and select it. Choose the action event as ‘Create Record’. This step allows you to add new leads captured from Google Ads into your MongoDB database.

  • Select ‘Create Record’ as the action event.
  • Connect your MongoDB account by entering the connection string.
  • Specify the database and collection name where the lead data will be stored.

Make sure to add your current IP address in the MongoDB network access settings to allow Pabbly Connect to send data. After entering the connection string and the required credentials, save the connection. Your MongoDB account is now linked with Pabbly Connect, ready to receive lead data.


5. Mapping Lead Data to MongoDB

Now that your MongoDB is connected, it’s time to map the lead data from Google Ads into the MongoDB fields using Pabbly Connect. In the action step, you will see fields corresponding to the keys you want to add to your MongoDB collection, such as name, email, phone number, city, and lead ID.

For each field, you will need to map the corresponding data from the trigger step. Click on each field and select the appropriate response from Google Ads. This mapping process ensures that the right data is stored in the correct fields in your MongoDB collection.

Once the mapping is complete, click on ‘Save and Send Test Request’. This action will send the mapped lead data to your MongoDB collection. After refreshing your MongoDB dashboard, you should see the new lead entry created successfully, confirming that the integration works as intended.


Conclusion

In this tutorial, we explored how to use Pabbly Connect to automate the process of adding Google Ads leads into MongoDB. By following these steps, you can streamline your lead management workflow and ensure that new leads are captured and stored efficiently.

Ensure you check out Pabbly Connect to create business automation workflows and reduce manual tasks. Pabbly Connect currently offer integration with 2,000+ applications.