AI for Database and HubSpot automations
Set up an automation: when new workflow run completed in AI for Database, create deal in HubSpot
Build it50agents builds it as an automation, and asks before anything goes outside.
AI for Database and HubSpot in practice
Used for
People found by a finished AI for Database run are added as HubSpot contacts.
Best template
“New Workflow Run Completed” in AI for Database, then “Create Contact” in HubSpot. A finished run carries status and results, which is where the list of people comes from.
Watch out
“Create Contact” requires an email, and “New Workflow Run Completed” also fires for runs that failed.
AI for Database and HubSpot templates
Pick one and Captain builds it with you.


When new workflow run completed in AI for Database, create deal in HubSpot
Build this

When new workflow run completed in AI for Database, update deal in HubSpot
Build this

When new workflow run completed in AI for Database, create contact in HubSpot
Build this
AI for Database and HubSpot triggers and actions
Every one of both apps. A trigger starts the work; actions are the steps.
Triggers
1- New workflow run completedRuns when a run of a chosen workflow finishes, with its status and results.
No triggers match.
Actions
5- Ask Database questionAsk a plain-English question about a connected database and get the AI answer, SQL and results.
- Run saved queryRun a saved query with optional placeholder values and get the rows.
- Run SQL queryRun a raw SQL query on a selected database connection and get the rows.
- Run workflowRun a selected workflow draft now, including its delivery actions.
- Create saved querySave a reusable SQL query on a selected database connection.
No actions match.
Triggers
18- Delete companyGet notified if any company is deleted in your account.
- Delete contactGet notified if any contact is deleted in your account.
- Update contact's lifecycle stageGet notified if lifecycle stage changed for any contact in your account.
- Ticket created or updatedRuns when ticket is created or updated
- Delete ticketGet notified if any ticket is deleted in your account.
- Deal deletedGet notified if any deal is deleted in your account.
- New product createdRuns when new product is created
- Delete productGet notified if any product is deleted in your account.
- Merge contactsGet notified if a contact is merged with another.
- Update contact's lead statusGet notified if lead status changed for any contact in your account.
- Merge companiesGet notified if a company is merged with another.
- Merge dealsGet notified if a deal is merged with another.
- Merge ticketsGet notified if a ticket is merged with another.
- New invoice createdTriggers when new invoice is created
- When a deal is created or updatedStarts the work when it happens in HubSpot.
- New or updated contactRuns when contact is created or updated. Choose properties and trigger type.
- When a company is created or updatedRuns the workflow automatically whenever a company is created or updated in the account.
- New task dueRuns when a HubSpot task becomes due, including task details and selected response properties.
No triggers match.
Actions
23- Create contactCreate a new HubSpot contact using the provided contact properties (email is required). Returns the created contact record.
- Update companyUpdate selected HubSpot company properties for a given company ID.
- Search companyLocate a company by name in HubSpot and return the selected company properties. Returns a message if no company is found.
- Get owner by email or by IDGets an existing owner by email or by id.
- Create companyCreate a new company record in HubSpot using the provided company properties.
- Create or update contactCreates new contact or update an existing contact by its email.
- Create dealCreates a Deal.
- Get invoice line itemsRetrieve line items associated with a specified invoice number.
- Create email engagementCreate an email engagement in HubSpot and associate it with specified contacts, companies, deals, or tickets.
- Create meeting engagementCreates new meeting engagement.
- Update contactUpdate an existing contact by its email.
- List all line itemsList all the line items.
- Find contactFind contacts by ID, query, or properties and return selected fields; set limit, sort, and properties.
- Search a productFetch product details by product name.
- Search a ticketSearch for tickets by filtering on properties
- Search a dealRetrieve Deal details based on dealname.
- Search invoicesRetrieves a list of invoices based on a specified date.
- Update dealUpdate specified properties of an existing HubSpot deal by providing the deal ID and new field values.
- Create engagementCreate an engagement (note, task, meeting, call, or email) in HubSpot and link it to contacts, companies, deals, or tickets.
- Send messageSend a text message into a HubSpot conversation thread using a chosen sender, channel, and recipient.
- Get noteRetrieve a HubSpot note by its ID and return selected note properties.
- Get deal notesRetrieve a deal and its associated notes by specifying the deal ID.
- Add notes to contactCreate one or more notes for a contact by ID or email, specifying note date and body.
No actions match.
Questions about AI for Database and HubSpot
What can start a AI for Database and HubSpot automation?
“New workflow run completed”.
Which other apps work with both AI for Database and HubSpot?
Sangam CRM, Freshsales Classic and Microsoft Excel. Each one has templates with AI for Database and with HubSpot, so a third app can join the same job.
All AI for Database integrations · All HubSpot integrations · Every app, A to Z
Connect AI for Database and HubSpot
Or pick another template above. Free to start.
Build it with Captain