AppsPricingBlogTry it
HubSpot logo
Bitbucket logo

Connect HubSpot to Bitbucket

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

24 source actions
8 target actions
Reverse direction supported

Why Connect HubSpot & Bitbucket?

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 Bitbucket action

Then it uses one of 8 documented actions, such as Create Issue Comment, Create Snippet Comment, Creates a new issue.

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

Bitbucket logo

Bitbucket

Triggers (12)

New Commit (Instant)

Emit new event when a new commit is pushed to a branch. See docs here

webhook
New Pull Request (Instant)

Emit new event when a new pull request is created in a repository. See docs here

webhook
New Branch (Instant)

Emit new event when a new branch is created. See docs here

webhook
New Commit Comment (Instant)

Emit new event when a commit receives a comment. See docs here

webhook
New Event from any Repository

Emit new event when an event occurs from any repository belonging to the user. See docs here

polling
New Issue (Instant)

Emit new event when a new issue receives is created in a repository. See docs here

webhook
New Pipeline Event (Instant)

Emit new event when a pipeline event occurs. See docs here

webhook
New Repository (Instant)

Emit new event when a new repository is created in a workspace. See docs here

webhook
New Repository Event (Instant)

Emit new event when a repository-wide event occurs. See docs here

webhook
New Review Request (Instant)

Emit new event when a reviewer is added to a pull request.

webhook
New Tag (Instant)

Emit new event when a commit is tagged. See docs here

webhook
New Workspace Event (Instant)

Emit new event when a workspace-wide event occurs. See docs here

webhook

Actions (8)

Create Issue Comment

Creates a new issue comment. See docs here

Create Snippet Comment

Creates a new snippet comment. See docs here

Creates a new issue

Creates a new issue. See docs here

Get File From Repository

Gets the actual file contents of a download artifact and not the artifact's metadata. See docs here

Get issue

Get a issue. See docs here

Get snippet

Get a snippet. See docs here

List Workspace Options

Retrieves available options for the Workspace field.

Update Issue Comment

Updates a existent issue comment. See docs here

Integration Features

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

Capability Examples

HubSpot trigger → Bitbucket action

Catalog example
HubSpotHubSpot

Deleted Blog Posts

BitbucketBitbucket

Create Issue Comment

Bitbucket trigger → HubSpot action

Reverse direction
BitbucketBitbucket

New Commit (Instant)

HubSpotHubSpot

Add Comment

How It Works

1

Connect Apps

Authenticate your HubSpot and Bitbucket accounts

2

Describe the Job

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

3

Choose an Action

Select the documented Bitbucket 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 Bitbucket 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 Bitbucket actions it needs.

Your Own Accounts

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

Execution Review

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

Bitbucket logoHubSpot logo

Reverse Integration Available

Also connect Bitbucket to HubSpot for bidirectional automation

View Integration
HubSpot logo

All HubSpot Integrations

Explore all available HubSpot connections

View All Integrations
Bitbucket logo

All Bitbucket Integrations

Explore all available Bitbucket connections

View All Integrations

Ready to Connect HubSpot & Bitbucket?

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

Start building

Rather not build it yourself? We set up one HubSpot to Bitbucket 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