InTouch Hub · Blue Isle Software

HubSpot New Deal Alert

List HubSpot deals, summarize them into a digest, and alert the workflow's subscribers.

hubspotcrmsalesalert

HubSpot New Deal Alert

Pulls your HubSpot deals each run, turns the raw API response into a readable digest, and notifies the workflow's contacts.

Use case

Sales teams want a recurring, human-readable summary of the deals in their HubSpot account without logging in to the CRM. Schedule this workflow (e.g. each morning) and subscribers receive a digest of current deals via their configured notification channel.

What it does each run

  1. fetchDeals (hubspot tool) — calls the HubSpot connector with operation: list_deals. Like every InTouch connector, it publishes exactly two outputs: result (the API JSON response as a string) and status (the HTTP status code).
  2. digest (anthropic tool) — an AI task reads {{fetchDeals.result}} and {{fetchDeals.status}} and writes a concise markdown summary (a total count plus one bullet per deal: name, stage, amount). Publishes answer.
  3. notify (message tool) — sends {{digest.answer}} (plus the HTTP status from step 1) to the workflow's contacts.

If the HubSpot fetch fails, the alertOnError notification to the intouch user fires.

Required credentials

The apiKey properties are set to the placeholder <set via credential>. Supply the real values via an InTouch credential (recommended) or a runtime env — never hardcode keys in the workflow.

Task Property What to supply
fetchDeals apiKey Your HubSpot private-app token (CRM read scope crm.objects.deals.read)
digest apiKey Your Anthropic API key

The HubSpot connector uses private-app / OAuth auth, so the token must be authorized in HubSpot before the workflow can read deals.

The notify task uses the built-in message tool and needs no credential; it delivers to whoever is subscribed to this workflow (the intouch user is a configured notification target, with alertOnError: true).

Outputs referenced (real connector contract)

This workflow only references outputs the tools actually publish:

No invented fields (no .total, .results, .count, .latestModified, etc.).