Celebrate HubSpot closed-won deals in Slack with the customer's logo

When a HubSpot deal hits closed-won, post a hype message in your wins channel with the customer's real logo embedded, not a flat one-liner.

Agentic Task
HubSpotSlack BotImage SearchSalesOperationsNotifications & AlertsContent Generation
PromptCreate

Build me an agent workflow that celebrates every closed-won deal in Slack with the customer's actual logo embedded, so our sales team gets a real visual moment instead of a flat 'deal won' line.

Trigger: a HubSpot webhook on deal property change, filtered so the agent only fires when the deal's stage changes to closed-won. If the stage value isn't a closed-won stage, exit early without posting.

When it fires, the agent should do the following:

1. Call HubSpot Get Deal on the deal that just moved, pulling at minimum the deal name, amount, deal owner, close date, and the associated company id.

2. Call HubSpot Get Company on the associated company to pull the company name and domain (website).

3. Use Image Search (search-images) to find the company's official logo. Query with the company name plus the domain (for example, 'Acme Corp acme.com logo'). Score results so the agent prefers clean, roughly square logo images, and apply a domain-match heuristic: results whose source URL or description references the company's own domain rank highest. Pick the single best candidate. If no candidate clears a reasonable confidence bar, fall back to a brand product image search ('Acme Corp product') and apply the same heuristic. If that still doesn't return anything good, skip the image entirely rather than posting a wrong one.

4. Compose a short, upbeat hype message including: the customer (company) name, the ARR (deal amount, formatted with currency), the account exec (deal owner), the deal name, and one short line about the company if the domain gives an obvious hint. Keep it 2 to 4 lines. Do not use em dashes anywhere in the copy; use periods or commas. Use Slack-flavored markdown for bold and links.

5. Use Slack Bot Send a Message to post in a configurable wins channel (default to #sales-wins, but expose the channel as a workflow setting). Attach the logo URL so Slack unfurls the image into the message. If the agent skipped the image, just send the message without an attachment.

Edge cases to bake in: if the deal amount is missing or zero, skip posting politely and log why instead of celebrating a blank number. If the deal has no associated company, post a name-only celebration without a logo. If the HubSpot webhook fires for a stage that isn't closed-won, exit immediately.

Use the Slack Bot integration (not the user-token Slack integration) so the post comes from a shared bot identity that keeps working when individual sellers leave.

Additional information

What does this prompt do?
  • Listens for HubSpot deal stage changes and fires the moment a deal flips to closed-won.
  • Pulls the deal name, amount, owner, and close date from HubSpot, plus the linked company's name and website.
  • Searches the web for the customer's official logo and picks the cleanest match, with a polite fallback if no good logo turns up.
  • Posts a short, branded hype message to your sales wins channel in Slack with the logo attached.
What do I need to use this?
  • A HubSpot account where your sales team manages deals and companies.
  • A Slack workspace with the channel you want wins posted in.
  • Permission to connect HubSpot and Slack to General Input.
How can I customize it?
  • Change the Slack channel the celebration posts in, or route different deal sizes to different channels.
  • Tweak the message copy and emoji to match your team's tone, from understated to confetti-everywhere.
  • Adjust the closed-won stage name if your pipeline uses a custom stage label, or scope it to a specific pipeline.

Frequently asked questions

Will this fire on every deal stage change or just closed-won?
Only closed-won. The agent checks the deal's new stage before doing anything, so updates to other stages are ignored and your wins channel stays clean.
What happens if the customer has no logo online?
The agent scores each logo result and, if nothing comes back with high confidence, it skips embedding rather than posting a wrong or random image. You still get the celebration message, just without artwork.
How does it find the right logo?
It searches the web using the company's name and website domain, then prefers square images whose source matches the company's own domain. That domain-match heuristic is what stops it from grabbing a competitor's logo or a stock photo.
Can I change which Slack channel it posts to?
Yes. The channel is a setting on the workflow, so you can point it at any public channel your bot is in. You can also have it post to different channels based on deal size or owning team.
What if a deal closes without an amount filled in?
The agent skips the post politely instead of celebrating a blank number. Once an owner backfills the amount, you can re-run that deal manually.

Make every closed-won deal feel like a win.

Connect HubSpot and Slack once, and your team gets a branded celebration the moment a deal closes, no manual screenshots required.