Start a Motion project when a HubSpot deal changes stage

When a deal moves to Closed Won or Contract Sent in HubSpot, Geni builds a Motion project with auto-scheduled kickoff tasks and pings your sales channel.

Agentic Task
HubSpotMotionSlack BotSalesOperationsNotifications & AlertsOnboarding AutomationData Sync
PromptCreate

I want an agent workflow that turns HubSpot deal stage changes into real, auto-scheduled Motion projects, so post-sale delivery work lands on someone's calendar the moment a deal moves.

Trigger: a HubSpot webhook on deal property change, filtered to changes on the deal stage property. It should only run when the deal enters a stage from a configurable allowlist (defaults: Closed Won and Contract Sent). Ignore other property updates.

What the agent should do on each fire:

1. Call HubSpot Get Deal on the deal ID from the webhook payload. Use the associations parameter to pull the primary contact and the associated company in the same call. Read the deal amount, owner, and the stage the deal just moved into.

2. Reason about what a good kickoff plan looks like for that specific stage. A Contract Sent deal should seed legal review, redlines, and signature-chase tasks. A Closed Won deal should seed kickoff call, statement of work draft, welcome and onboarding email, and internal handoff tasks. Keep the list scoped and realistic (3 to 6 concrete tasks), not a generic template that fires the same way for every stage.

3. Call Motion Create Project to create the project in the configured target workspace. Name it after the deal and company, for example "Acme Corp — Enterprise Plan Kickoff". Include a short description with the deal amount and a link back to the HubSpot deal.

4. Call Motion Create Task once per task in the plan. Attach each task to the project just created. Turn on Motion's auto-scheduling (autoScheduled with a SOFT deadlineType and a schedule) so the tasks land on real calendar blocks. Set priority from the deal amount: HIGH for deals over $50,000, MEDIUM for deals over $10,000, LOW below that. Set a realistic duration in minutes per task, not REMINDER.

5. Post a short summary to a configurable Slack channel using Slack Bot Send a Message. Include the deal name, company, stage that triggered the workflow, deal amount, deal owner, and links to both the HubSpot deal and the new Motion project. Use Slack mrkdwn formatting (single asterisks for bold, angle-bracket links). Keep it to a few lines, not a wall of text.

Config values the user should set: the list of triggering deal stages, the Motion workspace ID, the Slack channel ID, and the deal-amount thresholds for priority mapping. Everything else should be inferred from the deal itself.

Do not create tasks in HubSpot, do not update the deal record, and do not create duplicate Motion projects if the workflow is re-triggered for the same deal within the same stage. This is one-way: HubSpot signals, Motion and Slack execute.

What does this prompt do?

  • Watches your HubSpot pipeline and reacts the moment a deal moves into a stage you care about.
  • Creates a matching project in Motion in the right workspace, with a task list tailored to that specific stage (kickoff call, statement of work, onboarding email, and so on).
  • Sets task priority from the deal amount and turns on Motion's auto-scheduling so the work lands on real calendar blocks without anyone dragging cards around.
  • Posts a short handoff to your sales channel with the deal amount, company, and links to both the HubSpot deal and the new Motion project.

What do I need to use this?

  • A HubSpot account with access to deals, contacts, and companies.
  • A Motion account and API key for the workspace where the kickoff projects should land.
  • A Slack workspace with a channel where you want the handoff summary posted.

How can I customize it?

  • Pick which deal stages should trigger it, from just Closed Won to a wider set like Contract Sent, Closed Won, and Onboarding.
  • Adjust the kickoff task list per stage so a Contract Sent deal seeds legal and signature tasks while a Closed Won deal seeds onboarding tasks.
  • Change the deal-amount thresholds that decide task priority, or swap which Slack channel the summary posts to.

FAQs

Which HubSpot deal stages does this run on?
Whichever stages you list during setup. The workflow stays quiet on early-stage movement and only fires when a deal enters one of your chosen stages, like Contract Sent or Closed Won.
Can I create different task lists for different stages?
Yes. The agent reasons about what a good kickoff looks like for the specific stage the deal just entered, so a Contract Sent deal seeds legal review and signature-chase tasks while a Closed Won deal seeds onboarding tasks.
Will the tasks actually land on someone's calendar?
Yes. Motion's auto-scheduling is turned on by default, so each task is placed on a real calendar block based on priority, deadlines, and existing commitments.
How does it decide task priority?
From the deal amount. Bigger deals get higher-priority tasks, so a six-figure win jumps to the top of the schedule while a smaller deal fits in around it. You can adjust the thresholds.
What if the deal is missing a contact or a company?
The agent still creates the Motion project and posts to Slack, but the handoff message flags the missing information so someone can fill it in before the first task runs.

Related templates

Build a credential rotation checklist when someone leaves

When someone leaves, we check which shared passwords they used in their final months and post a ranked rotation list to your security channel.

1Password
Rippling
Slack Bot
+1
Agentic Task
Weekly Amazon S3 bucket security audit posted to Slack

Every Monday, check every S3 bucket for public exposure, missing encryption and weak backup settings, then get the risks ranked in Slack.

Amazon S3
Slack Bot
Google Sheets
Agentic Task
Log Agorapulse social conversations to HubSpot contacts

Twice every weekday, the conversations from your social inbox land on the right HubSpot contact timelines, with a Slack recap for sales.

Agorapulse
HubSpot
Slack Bot
Agentic Task
Turn procurement portal tenders into CRM deals each morning

Every weekday at 7am, sign in to the tender portals you track, filter new notices against your bid criteria, and open a deal for the ones worth chasing.

Anchor Browser
Google Sheets
HubSpot
+1
Agentic Task
Clean up HubSpot contacts from your Amazon SES suppression list

Every morning, find the addresses that hard bounced or filed a spam complaint, update the matching HubSpot contacts, and post a short Slack recap.

Amazon SES
HubSpot
Slack Bot
Agentic Task
Draft polite follow-ups for emails that never got a reply

Every weekday at 4pm, spot the threads that went quiet, stage a ready-to-send nudge in your mailbox, and get a ranked Slack recap.

Aurinko
Google Sheets
Slack Bot
Agentic Task

Stop rebuilding the same kickoff project every time a deal closes.

Connect HubSpot, Motion, and Slack once, and Geni turns every deal stage change into a real project on someone's calendar.