Auto-log partner commissions when HubSpot deals close won

The moment a partner-attributed HubSpot deal closes, log the commission in Introw and celebrate the win in your partner-wins Slack channel.

Agentic Task
HubSpotIntrowSlackSalesOperationsNotifications & AlertsData Sync
PromptCreate

Build an agent-based workflow triggered by a HubSpot webhook that fires whenever a deal moves to the closed-won stage. The agent reconciles partner credit and announces the win.

When the webhook fires, do the following in order:

1. Parse the incoming HubSpot payload to extract the deal id. Do not trust other fields from the payload.

2. Use HubSpot Search Deals to fetch the full deal record. Pull the deal name, amount, currency, deal owner, the associated company, and the custom partner attribution property (this is the source of truth for which partner gets commission). The exact property name should be configurable at setup time.

3. If the partner attribution property is empty, exit the run cleanly. No Slack post, no commission line, no error. Non-partner deals must not generate noise.

4. If a partner is attributed, call Introw List Partners and resolve the partner id by matching the attributed partner name or company domain against the partner list. If no match is found, post a single Slack message to the partner-wins channel flagging the unmatched partner so a human can resolve it, then stop.

5. With the resolved partner id, call Introw Create a Commission Line attaching the deal amount in the deal's currency, a description that references the deal name and the HubSpot deal id, and an internal note containing the link back to the HubSpot deal URL.

6. Post a celebratory message to the #partner-wins Slack channel using Slack Send a Message. The message should announce the partner name, the company that closed, the deal value formatted with currency, the deal owner, and confirm that a commission line was created in Introw. Use Slack mrkdwn formatting so the deal value and partner name stand out.

Behavioral rules: always re-fetch the deal in step 2 rather than trusting the webhook body. Skip silently when no partner is attributed. Before creating a commission line, optionally check Introw for an existing line that references the same HubSpot deal id and skip if one exists to prevent duplicates if a deal flips stages. Treat the Slack channel name and the HubSpot partner attribution property name as configurable inputs.

What does this prompt do?

  • Listens for HubSpot deal stage changes and fires the moment a deal closes won.
  • Reads the full deal record and checks the partner attribution field before doing anything else.
  • If a partner is attributed, looks them up in Introw and creates a commission line tied to the deal amount, deal name, and a link back to HubSpot.
  • Posts a celebration in your #partner-wins Slack channel with the partner, the company, and the deal value.
  • Stays quiet for non-partner deals so the channel only fires for real wins to share.

What do I need to use this?

  • A HubSpot account with deals and a property that tracks which partner sourced each deal.
  • An Introw account with your partners already loaded.
  • A Slack workspace with a channel for partner wins, like #partner-wins.

How can I customize it?

  • Change which Slack channel gets the celebration, or route by partner tier or region.
  • Point the workflow at whichever HubSpot deal property holds partner attribution in your portal.
  • Add commission math: a flat percent of the deal amount, tier-based rates, or a finance-only internal note.

FAQs

What happens if a deal closes won but no partner is attributed?
The workflow exits quietly. No commission line is created and no Slack message is posted, so the channel only lights up for real partner wins.
Does it work if I track partner attribution in a custom HubSpot property?
Yes. Tell the workflow author which property to read during setup, and it will use that field as the source of truth for partner credit.
What if the partner name in HubSpot does not match a partner in Introw?
The workflow flags the mismatch in Slack so someone can fix the name or create the partner in Introw before commission is owed.
Can I send the celebration to more than one Slack channel?
Yes. You can fan it out to a leadership channel, a partner-specific channel, or DM the deal owner. Just describe the routing you want.
Will it double-create a commission line if the deal flips back to closed won later?
You can add a duplicate guard that checks Introw for an existing commission line tied to the same HubSpot deal before creating a new one.

Related templates

Call overdue Xero customers with an AI collections agent

Every weekday at 10am, an AI voice agent phones your most overdue Xero accounts, logs what each customer promised, and reports back to finance in Slack.

LiveKit
Xero
Deepgram
+2
Agentic Task
Win back LiveChat visitors whose chats went unanswered

Every couple of hours we find the chats your team never answered, email those visitors a real reply, and hand the sensitive ones to a support lead.

LiveChat
Gmail
Slack
Agentic Task
Turn Mailjet email clicks into ranked HubSpot follow-ups

Twice a day we spot the people clicking your pricing and demo pages, create a follow-up task for their owner, and post a ranked recap to Slack.

Mailjet
HubSpot
Slack Bot
Agentic Task
iMessage campaign console with pre-flight checks and delivery board

Build every text campaign in one screen: check who is actually reachable, see a realistic send plan, then watch delivery land row by row.

LoopMessage
Google Sheets
HubSpot
App
Chat quality review board for LiveChat support leads

Score last week's finished live chats against one rubric, let an AI grader draft the notes with quotes, and send coaching straight to the agent.

LiveChat
Slack
General Input Database
App
A searchable RFP answer library your bid team drafts from

Every proposal you have ever submitted in one searchable archive, with the closest past answers lined up against each question in a new RFP.

General Input Storage
General Input Database
Mistral AI
+2
App

Stop chasing partner commissions in spreadsheets.

Connect HubSpot, Introw, and Slack once. Geni logs the commission line and celebrates the win the moment a partner deal closes.