/
/
Hand over a rep's open HubSpot tasks in one pass
For sales managers who need a departing or moving rep's open tasks reassigned in HubSpot, by asking their AI assistant.
On this page
Connector
Connect HubSpot, pick your AI tool and paste the prompt.
The problem
Handing over a rep's tasks one at a time misses some
When a rep leaves or changes territory, their open HubSpot tasks need a new owner before anything slips. Moving them one at a time is slow, and it is easy to miss some, reassign completed ones or change more than the owner.
Without PopdockAI
- Filter the rep's open tasks
- Open each task and change the owner
- Accidentally include completed tasks
- Miss a few that keep the old owner
With PopdockAI
- The new owner id is checked against HubSpot users
- Only open tasks are listed, never completed ones
- You see the count and the old and new owner first
- Only the owner changes, and failures are reported
The prompt
Use this prompt
Copy it into any AI tool connected to PopdockAI. Swap the values in braces for your own.
**Objective:** Reassign every open task assigned to `{from-assignee}` to the HubSpot owner `{to-owner-id}`, optionally only tasks due before `{due-before}`.
**Step 1: Check the new owner**
`{to-owner-id}` must be a numeric HubSpot owner ID. If it is not a number, ask for the owner ID and stop. Call `hubspot-get-users` with `record-id` = `{to-owner-id}` and, if that returns a user, show their name and email; if it returns nothing, warn that the ID could not be matched to a user and ask whether to continue.
**Step 2: Find the tasks**
Call `hubspot-get-tasks` with `assigned-to` = `{from-assignee}`, `max-records` = 100, and `due-date.to` = `{due-before}` when given. Keep only tasks whose `task-status` is not COMPLETED. If none remain, say so and stop.
**Step 3: Confirm**
Show the count and a table: title, due date, priority, status, contact email. State the old and new owner. Wait for an explicit yes.
**Step 4: Reassign**
Call `hubspot-update-task` once per task with `id` = its record-id and `owner-id` = `{to-owner-id}`. Change nothing else.
**Step 5: Report**
Report how many moved and list any that failed with the error. If the first two calls fail on `owner-id`, stop and tell the user the ID is probably not a valid owner ID.
**Rules & Guidelines:**
* Only `hubspot-update-task` may write, once per task, after Step 3.
* Do NOT call any other write tool: no other hubspot-add, hubspot-update, hubspot-rename, hubspot-remove, hubspot-subscribe, hubspot-unsubscribe or hubspot-import tool.
* Never reassign completed tasks.
**Validation:**
* If more than 100 tasks match, reassign the first 100, then tell the user to run the prompt again.
* If `{from-assignee}` matches more than one person, list them and stop.Who it's for
One answer, three teams that use it
Sales managers
Hand over a leaver's work quickly
Move every open task from a departing rep to their replacement before anything slips.
Tom Reyes is leaving. Move all his open HubSpot tasks to owner ID 61234567.
Sales operations
Rebalance territories cleanly
Reassign tasks due before a date without touching subject, notes or completed work.
Move Priya Shah's open HubSpot tasks due before December 1 to owner ID 72345678.
Customer success leads
Cover for someone on leave
Hand a colleague's open tasks to a teammate in one request, with the count shown first.
How many open tasks does Dana Whitfield have in HubSpot? Move them to owner ID 83456789.
How it works
What PopdockAI does when you ask
You name the current assignee and the new owner, and your AI assistant checks the owner and lists the open tasks. Only the owner changes, and only after you confirm.
01
Ask
You name the current assignee and give the new owner ID.
02
Check
It confirms the new owner ID matches a HubSpot user.
03
Confirm
You see the open tasks and the old and new owner, and say yes.
04
Reassign
It changes only the owner on each task and reports any failures.
What PopdockAI provides
The tools behind the answer
Ready made tools for HubSpot and one secure connection to your AI tool. No code, no exports.
hubspot-get-users
hubspot-get-tasks
hubspot-update-task
This report is built from Get data tools only. PopdockAI applies the row, field and parameter rules your admin sets, and every query is written to the audit trail.
The outcome
Handovers done in one pass
Related use cases
More ways to put this data to work
One prompt template with infinite possibilities.
Your AI assistant adapts its approach, tone, and capabilities to match each unique context while you maintain a single, manageable workflow.
Join forward-thinking companies that are transforming their operations with intelligent, secure AI automation.

.webp)
