How to use Query to search for Hubspot Contact?

Hi!

This is my first time using Make. I am trying to integrate our Hubspot and create Scenario where every New Engagement from Hubspot creates a Google Sheet log and sends an email to the user. However, I am trying to figure out how to use Query to retrieve the correct object that is triggered when a new Hubspot Engagement is made.

Is there any documentation as to what format the Query should be in Make? Thanks!

Welcome to the Make community!

Here are two Hubspot search modules you could use:

Screenshot_2024-03-01_110315
Screenshot_2024-03-01_110310

1 Like

Hi! Thank you for your response. I did use the Search for Contacts feature, but I am unable to query the search based on the criteria I need.

Yes, that is possible. You’ll need a minimum of four modules:

Give it a go and let us know if you have any issues!

You can copy and paste this module export into your scenario. This will paste the modules shown in my screenshots above.

  1. Copy the code below by clicking the copy button when you mouseover the top-right of the code block
    Screenshot_2024-01-17_200117

  2. Enter your scenario editor. Press ESC to close any dialogs. Press CTRLV to paste in the canvas.

  3. Click on each imported module and save it. You may need to remap some variables.

Modules JSON Export

{
    "subflows": [
        {
            "flow": [
                {
                    "id": 86,
                    "module": "hubspotcrm:WatchEngagements",
                    "version": 2,
                    "metadata": {
                        "designer": {
                            "x": 1222,
                            "y": 732
                        }
                    }
                },
                {
                    "id": 87,
                    "module": "hubspotcrm:getContact",
                    "version": 2,
                    "metadata": {
                        "designer": {
                            "x": 1467,
                            "y": 732
                        }
                    }
                },
                {
                    "id": 88,
                    "module": "google-sheets:addRow",
                    "version": 2,
                    "metadata": {
                        "designer": {
                            "x": 1712,
                            "y": 735
                        }
                    }
                },
                {
                    "id": 89,
                    "module": "email:ActionSendEmail",
                    "version": 7,
                    "metadata": {
                        "designer": {
                            "x": 1956,
                            "y": 735
                        }
                    }
                }
            ]
        }
    ],
    "metadata": {
        "version": 1
    }
}
2 Likes