AppsPricingBlogTry it
HubSpot logo
Apify logo

Connect HubSpot to Apify

Build an AI agent that works across HubSpot and Apify, on a schedule or when you click Run.

24 source actions
8 target actions
Reverse direction supported

Why Connect HubSpot & Apify?

Read what you need from HubSpot

Your agent uses HubSpot's documented actions to pull the records it needs, each time it runs.

Run a Apify action

Then it uses one of 8 documented actions, such as Get Dataset Items, Get Key-Value Store Record, List Dataset ID Options.

Test it, then put it on a schedule

Run it once on your own data and check the result. Then set it to run daily, on weekdays or weekly.

Available Triggers & Actions

HubSpot logo

HubSpot

Triggers (12)

Deleted Blog Posts

Emit new event for each deleted blog post.

polling
New Company Property Change

Emit new event when a specified property is provided or updated on a company. See the documentation

polling
New Contact Added to List

Emit new event when a contact is added to a HubSpot list. See the documentation

polling
New Contact Property Change

Emit new event when a specified property is provided or updated on a contact. See the documentation

polling
New Custom Object Property Change

Emit new event when a specified property is provided or updated on a custom object.

polling
New Deal In Stage

Emit new event for each new deal in a stage.

polling
New Deal Property Change

Emit new event when a specified property is provided or updated on a deal. See the documentation

polling
New Email Event

Emit new event for each new Hubspot email event.

polling
New Email Subscriptions Timeline

Emit new event when a new email timeline subscription is added for the portal.

polling
New Engagement

Emit new event for each new engagement (call, email, meeting, note, postal mail, or task) created. Per-activity docs: Calls Emails Meetings Notes Postal Mail Tasks See the documentation

polling
New Events

Emit new event for each new Hubspot event. Note: Only available for Marketing Hub Enterprise, Sales Hub Enterprise, Service Hub Enterprise, or CMS Hub Enterprise accounts

polling
New Form Submission

Emit new event for each new submission of a form.

polling

Actions (24)

Add Comment

Adds a comment to a thread. See the documentation

Add Contact to List

Adds a contact to a specific static list. See the documentation

Add Note to Contact

MCP and AI agents: **Prefer this action** when the user wants to **leave a note on a HubSpot contact** using a **contact ID** and note text. Exposes only hubspot, contactId, and noteBody (no engagement-type step, no reloadProps, no dynamic HubSpot schema fields). Do **not** use **Create Engagement** for this workflow. For every writable note property or non-contact associations, use **Create Note** instead. See the documentation

Archive Thread

Archives a thread (soft delete). The thread is hidden from active views but can be restored via the HubSpot UI or by listing archived threads. See the documentation

Batch Create Companies

Create a batch of companies in Hubspot. See the documentation

Batch Create or Update Contact

Create or update a batch of contacts by its ID or email. See the documentation

Batch Update Companies

Update a batch of companies in Hubspot. See the documentation

Batch Upsert Companies

Upsert a batch of companies in Hubspot. See the documentation

Clone Marketing Email

Clone a marketing email in HubSpot. See the documentation

Clone Site Page

Clone a site page in Hubspot. See the documentation

Create a New Workflow

Create a new workflow. See the documentation

Create Association

Create an association (link) between two CRM records. For example, associate a contact with a company, a deal with a contact, or a ticket with a company. Common association type IDs: contact→company (1), company→contact (2), deal→contact (3), contact→deal (4), deal→company (5), company→deal (6), ticket→contact (15), contact→ticket (16), ticket→company (26), company→ticket (25). See the documentation

Create Associations

Create associations between objects. See the documentation

Create Blog Post

Creates a new blog post in HubSpot. See the documentation

Create Communication

Create a WhatsApp, LinkedIn, or SMS message. See the documentation

Create Company

Create a company in Hubspot. See the documentation

Create Contact Workflow

Create a contact workflow in Hubspot. See the documentation

Create CRM Object

Create a new CRM record (contact, company, deal, ticket, etc.). Pass property values as a JSON object in the properties parameter. Use **Search Properties** to discover available fields for the object type, **Get Properties** to find valid enum values (e.g. lifecyclestage, dealstage), and **List Pipelines and Stages** to find valid pipeline/stage IDs for deals and tickets. Use **List Owners** to find valid hubspot_owner_id values. See the documentation

Create Custom Object

Create a new custom object in Hubspot. See the documentation

Create Deal

Create a deal in Hubspot. See the documentation

Create Engagement

Create a **task, meeting, email, call, or note** engagement with optional associations. Set **Engagement Type** and pass engagement fields in **Object Properties** (HubSpot property names, e.g. hs_note_body for notes). No reloadProps step and no **CONFIGURE_COMPONENT** requirement: association fields accept raw HubSpot IDs (use **Search CRM** or the Associations API to resolve associationType when needed). For **only** a note on a contact by ID, **Add Note to Contact** (hubspot-add-note-to-contact) is still simpler. See the documentation

Create Form

Create a form in HubSpot. See the documentation

Create Landing Page

Create a landing page in Hubspot. See the documentation

Create Lead

Create a lead in Hubspot. See the documentation

Apify logo

Apify

Triggers (2)

New Finished Actor Run (Instant)

Emit new event when a selected Actor is run and finishes.

webhook
New Finished Task Run (Instant)

Emit new event when a selected task is run and finishes.

webhook

Actions (8)

Get Dataset Items

Returns data stored in a dataset. See the documentation

Get Key-Value Store Record

Gets a record from a key-value store. See the documentation

List Dataset ID Options

Retrieves available options for the Dataset ID field.

Run Actor

Performs an execution of a selected Actor in Apify. See the documentation

Run Task

Run a specific task and optionally wait for its termination. Not for use with Mazaal AI Connect. See the documentation

Run Task Synchronously

Run a specific task and return its dataset items. See the documentation

Scrape Single URL

Executes a scraper on a specific website and returns its content as HTML. This action is perfect for extracting content from a single page. See the documentation

Set Key-Value Store Record

Create or update a record in an Apify Key-Value Store. Supports strings, numbers, booleans, null, arrays, and objects. Automatically infers content type (JSON vs. plain text).

Integration Features

24 documented HubSpot actions
8 documented Apify actions
Plain-English agent instructions
Daily, weekday or weekly schedule, or run on demand
Execution monitoring
A supported Apify to HubSpot direction

Capability Examples

HubSpot trigger → Apify action

Catalog example
HubSpotHubSpot

Deleted Blog Posts

ApifyApify

Get Dataset Items

Apify trigger → HubSpot action

Reverse direction
ApifyApify

New Finished Actor Run (Instant)

HubSpotHubSpot

Add Comment

How It Works

1

Connect Apps

Authenticate your HubSpot and Apify accounts

2

Describe the Job

Say what to read from HubSpot and what to do in Apify

3

Choose an Action

Select the documented Apify operation to run

Test and Review

Verify field mapping and provider responses before activation

Frequently Asked Questions

Integration Benefits

Scheduled or On-demand Runs

Runs daily, on weekdays or weekly at a set time, or when you click Run. It does not fire on live HubSpot events yet.

Automated Actions

Use 8 documented Apify actions each time the agent runs.

Provider Authentication

Review the authentication requirements published by each provider before activating the workflow.

Guided Configuration

Describe the job in plain English. The agent picks theHubSpot and Apify actions it needs.

Your Own Accounts

You connect your own HubSpot and Apify accounts. App connections need a paid plan.

Execution Review

Test the workflow and review provider responses before relying on it in production.

Apify logoHubSpot logo

Reverse Integration Available

Also connect Apify to HubSpot for bidirectional automation

View Integration
HubSpot logo

All HubSpot Integrations

Explore all available HubSpot connections

View All Integrations
Apify logo

All Apify Integrations

Explore all available Apify connections

View All Integrations

Ready to Connect HubSpot & Apify?

Build this agent in Mazaal AI and test it on your ownHubSpot and Apify data.

Start building

Rather not build it yourself? We set up one HubSpot to Apify agent on your accounts for A$490: a 30-minute call, a test on your real data, and 14 days of fixes. Plan billed separately. Email Enod