Skip to content

Commit 033b74d

Browse files
ouiliameclaude
andcommitted
docs(integrations): add the HubSpot setup guide for the Marketplace listing
Addresses HubSpot Marketplace review item A1: a public, HubSpot-specific setup guide following their template — what the app does, install + connect through the current flow (sidebar Integrations page -> HubSpot -> Add to Sim -> connect dialog -> HubSpot OAuth), with real screenshots of each step and a placeholder for the scope-approval shot; configure in a workflow (one-click skills/templates + the HubSpot block + trigger mode), use, disconnect (with data consequences), uninstall from the HubSpot side, troubleshooting. Capability wording is by CRM object rather than scope enumeration, so it stays accurate after the A2 scope trim. Lives at /integrations/hubspot-setup, guarded as hand-written, cross-linked from the HubSpot reference page's intro. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent d80d7f9 commit 033b74d

8 files changed

Lines changed: 133 additions & 0 deletions

File tree

Lines changed: 129 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,129 @@
1+
---
2+
title: HubSpot setup guide
3+
description: Install, configure, use, and disconnect the Sim HubSpot integration.
4+
pageType: guide
5+
---
6+
7+
import { Callout } from 'fumadocs-ui/components/callout'
8+
import { Image } from '@/components/ui/image'
9+
10+
Sim connects your HubSpot CRM to AI workflows. Once connected, your workflows can:
11+
12+
- **Read and write CRM records** — create, look up, search, and update contacts, companies, deals, and tickets from any workflow.
13+
- **React to CRM changes** — start a workflow when a contact, company, deal, or ticket is created or updated in HubSpot.
14+
- **Combine HubSpot with AI steps** — enrich a new contact with an [Agent block](/blocks/agent), route deals with a [Condition](/blocks/condition), or sync records into [Tables](/tables).
15+
16+
This guide covers installing the integration, connecting a HubSpot account, configuring it in a workflow, and disconnecting or uninstalling it.
17+
18+
## Before you begin
19+
20+
You need:
21+
22+
- A [Sim](https://sim.ai) account and a workspace where you have **Write** or **Admin** permission.
23+
- A HubSpot account. To grant the requested scopes, your HubSpot user needs permission to install apps (typically a super admin).
24+
25+
## Install the app and connect HubSpot
26+
27+
1. Log in to Sim, open your workspace, and click **Integrations** in the sidebar.
28+
2. Search for **HubSpot** and open it.
29+
30+
<Image
31+
src="/static/integrations/hubspot/integrations-page.png"
32+
alt="The Integrations page in Sim, with the sidebar entry, a search box, connected accounts, and featured integrations"
33+
width={800}
34+
height={664}
35+
/>
36+
37+
3. The HubSpot page lists its skills and templates. Click **+ Add to Sim** in the top right.
38+
39+
<Image
40+
src="/static/integrations/hubspot/hubspot-page-add-to-sim.png"
41+
alt="The HubSpot integration page in Sim with the Add to Sim button in the top right"
42+
width={800}
43+
height={550}
44+
/>
45+
46+
4. In the **Connect HubSpot** dialog, enter a **Display name** for the connection (for example "Sales HubSpot"), review the permissions requested, and click **Connect**.
47+
48+
<Image
49+
src="/static/integrations/hubspot/connect-hubspot-modal.png"
50+
alt="The Connect HubSpot dialog showing the display name field and the list of permissions requested"
51+
width={700}
52+
height={708}
53+
/>
54+
55+
5. You are redirected to HubSpot. Sign in, then choose the HubSpot account you want to connect.
56+
57+
<Image
58+
src="/static/integrations/hubspot/hubspot-oauth-signin.png"
59+
alt="HubSpot's screen for connecting your Sim account, with sign-in options"
60+
width={600}
61+
height={494}
62+
/>
63+
64+
6. Review the requested scopes on HubSpot's approval screen and click **Connect app**.
65+
66+
{/* VISUAL: screenshot of the HubSpot scope approval screen for the Sim app. */}
67+
68+
7. You are returned to Sim. The connection appears under **Connected** on the Integrations page.
69+
70+
You can connect more than one HubSpot account — for example, separate sales and support portals — and choose per workflow which one to use.
71+
72+
## Configure the app in a workflow
73+
74+
The fastest start is from the HubSpot page itself: its **skills** (like *upsert-contact*, *create-deal-for-account*, or *triage-support-ticket*) and **templates** add ready-made HubSpot capabilities to your workspace with one click.
75+
76+
For your own workflows, the integration runs through the **HubSpot block**.
77+
78+
1. Open a workflow in the editor and add a **HubSpot** block.
79+
2. In the block's **Account** field, select the HubSpot connection you created.
80+
3. Pick an **Operation** — for example *Create Contact*, *Search Deals*, *Update Ticket*, or *List Companies*.
81+
4. Fill in the operation's fields. Reference outputs from earlier blocks with [connection tags](/workflows/connections), like `<agent.content>` or `<start.input>`.
82+
83+
{/* VISUAL: screenshot of a HubSpot block configured with an account and the Create Contact operation. */}
84+
85+
The full list of operations, with every input and output, is on the [HubSpot integration reference](/integrations/hubspot).
86+
87+
### Start workflows from HubSpot events
88+
89+
The HubSpot block can also act as a trigger. Toggle **Use as Trigger**, select the connection, and choose which events to watch — contacts, companies, deals, or tickets, created or updated. Sim polls HubSpot for changes and runs the workflow once per changed record, with the record's fields available to downstream blocks.
90+
91+
Triggers run against your workflow's active [deployment](/deployment), so deploy the workflow to activate them.
92+
93+
## Use the app
94+
95+
Once configured, the integration runs automatically:
96+
97+
- **Workflow actions** run whenever the workflow runs — manually from the editor, on a schedule, from an API call, or from a chat.
98+
- **Triggers** run on their own: when a watched record changes in HubSpot, the workflow starts with that record as input.
99+
100+
Every run is recorded in [Logs](/logs-debugging), block by block, so you can verify exactly what was read from or written to HubSpot.
101+
102+
## Disconnect HubSpot from Sim
103+
104+
<Callout type="warn">
105+
When you disconnect, workflows that use this HubSpot connection will fail at the HubSpot block on their next run, and HubSpot triggers using it stop firing. Data already written to HubSpot or stored in Sim is not affected.
106+
</Callout>
107+
108+
1. In Sim, click **Integrations** in the sidebar.
109+
2. Under **Connected**, open your HubSpot connection.
110+
3. Click **Disconnect**, and confirm.
111+
112+
Disconnecting deletes the stored OAuth tokens. To use HubSpot again later, reconnect and update your workflows to use the new connection.
113+
114+
## Uninstall the app from HubSpot
115+
116+
You can also remove Sim from the HubSpot side, which revokes its access entirely:
117+
118+
1. In HubSpot, go to **Settings → Integrations → Connected apps**.
119+
2. Find **Sim** and choose **Uninstall**.
120+
121+
See HubSpot's guide to [connecting and uninstalling apps](https://knowledge.hubspot.com/integrations/connect-apps-to-hubspot) for details. Uninstalling revokes Sim's tokens, so connected workflows fail at the HubSpot block until you reinstall and reconnect. Your HubSpot data itself is not changed or deleted.
122+
123+
## Troubleshooting
124+
125+
- **A HubSpot block fails with an authorization error.** The connection may have been disconnected or its token revoked. Open **Integrations** in the sidebar, check the connection, and reconnect it.
126+
- **A trigger isn't firing.** Confirm the workflow is deployed, and check [Logs](/logs-debugging) for recent runs.
127+
- **You manage multiple portals.** Connect each HubSpot account separately and pick the right connection per block.
128+
129+
Need help? Contact [help@sim.ai](mailto:help@sim.ai).

apps/docs/content/docs/en/integrations/hubspot.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ With the HubSpot integration in Sim, you can:
2121
- **Access users**: Retrieve user information from your HubSpot account
2222

2323
In Sim, the HubSpot integration enables your agents to interact with your CRM data as part of automated workflows. Agents can qualify leads, enrich contact records, track deals, and synchronize data across your tech stack—enabling intelligent sales and marketing automation.
24+
25+
New to the integration? Follow the [HubSpot setup guide](/integrations/hubspot-setup) to install it, connect your account, and configure your first workflow.
2426
{/* MANUAL-CONTENT-END */}
2527

2628

apps/docs/content/docs/en/integrations/meta.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@
8888
"greptile",
8989
"hex",
9090
"hubspot",
91+
"hubspot-setup",
9192
"huggingface",
9293
"hunter",
9394
"iam",
371 KB
Loading
79.3 KB
Loading
218 KB
Loading
224 KB
Loading

scripts/generate-docs.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ const HANDWRITTEN_INTEGRATION_DOCS = new Set([
3939
'index',
4040
'google-service-account',
4141
'atlassian-service-account',
42+
'hubspot-setup',
4243
])
4344

4445
/**

0 commit comments

Comments
 (0)