Hubstaff automation
Set up a Hubstaff project with tasks and a team
A new client project means the same clicks every time: create the project, set billable, add members with roles, then add every task and assign it.
Cotlet does it in your own Hubstaff account with list_members, create_project, create_task and assign_project_member, called by your AI agent, an n8n workflow or a script.
Hosted · nothing to install or maintain
Can Hubstaff do this on its own?
Hubstaff creates projects, tasks and members in the app and in API v2, and its MCP server is read-only (checked 17 Oct 2026). The app has no way to set up a project and its tasks from a written brief, and projects linked to a third-party tool cannot take tasks created in Hubstaff, which is a limit this job reports instead of working around.
How you do it in Hubstaff today
- On the sidebar, under Project Management > Projects, an owner, organization manager or team lead with the permission clicks Add Project.
- The manager names the project, says whether it is billable on invoices, chooses whether to record activity, and adds a client if needed, which needs a Team or Enterprise plan.
- On the Budget tab the manager picks a type (total cost or total hours), what it is based on, a notify-at percentage and a start date.
- On the Members tab the manager adds people as Users, Managers or Viewers; Viewers cannot track time against the project.
- The manager then opens the project and adds each task with its assignee, one by one.
- Several projects can be added at once by typing one name per line, but members and tasks still go in project by project.
How to set up a Hubstaff project with tasks and a team
Create the Hubstaff project "Website relaunch", billable, with Maria Silva and Tom Becker as users and Dana Whitfield as manager. Add these four tasks and assign them as listed: homepage design to Maria, checkout flow to Tom, content migration to Maria, launch checklist to Dana. - 01
Resolve the people
list_members maps names in your brief to Hubstaff users. A name that matches nobody or two people is reported, not guessed, because a wrong match gives the wrong person access.
- 02
Create the project
create_project sets name, billable and the members with their roles in one call, so the team is in place before any task exists.
- 03
Add the tasks
create_task runs once per task with the project and assignee, in the order of your brief. Each call asks for your OK until you switch confirmation off.
- 04
Fix roles that missed
If a member was named after the project existed, assign_project_member adds them with a role, and changes one when the brief says so.
- 05
Report what exists
The agent lists what it created with ids, so you can check the project in Hubstaff once, not task by task.
What you get back
Created project "Website relaunch" (id 90417), billable
Members: Maria Silva (user), Tom Becker (user), Dana Whitfield (manager)
Tasks added 4:
- Homepage design, Maria
- Checkout flow, Tom
- Content migration, Maria
- Launch checklist, Dana
Not done 0 Other ways to ask
- Copy the members of the Support rota project into a new project called Spring campaign and add three tasks from this list.
- Create five projects, one per client in this list, billable, with me as manager, and no tasks.
- Add Jake Ortiz as a viewer on every active project that has "Website" in its name.
- Show me what would be created from this brief and write nothing to Hubstaff.
What Hubstaff allows, and what to know first
- Only owners, organization managers and team leads with the permission enabled on the team settings can add projects.
- Project roles are viewer, user and manager, and a viewer cannot track time against the project.
- Only the name is required to create a project through the API; members, a client, a budget and a billable default are optional.
- Clients on projects are available on the Teams and Enterprise plans.
- A project integrated with a third-party tool takes its tasks from that tool, so a task cannot be created for it in Hubstaff.
create_task and assign_project_member ask for your OK by default. To run it on a schedule without you, switch confirmation off for those tools in your dashboard.
Sources: Hubstaff Support: Adding and assigning projects in Hubstaff · Hubstaff developers: Projects · Hubstaff developers: Tasks · Hubstaff developers: Members
Call create_project from a script
curl -X POST https://cotlet.dev/api/v1/hubstaff/organizations/412093/projects \
-H "Authorization: Bearer $COTLET_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"Website relaunch","billable":true,"members":[{"user_id":3011,"role":"user"},{"user_id":3014,"role":"manager"}]}' {
"project_id": 90417,
"name": "Website relaunch",
"status": "active",
"billable": true,
"members": [
{
"user_id": 3011,
"role": "user"
},
{
"user_id": 3014,
"role": "manager"
}
]
} MCP: add https://cotlet.dev/mcp/v1 with the same key; the call is hubstaff_write → create_project. Example data.
Schedule it in n8n, Make, Zapier or cronHubstaff tools this automation uses
| Tool | Parameters |
|---|---|
| list_members | organization_id, limit, cursor |
| create_project | organization_id, name, description, billable, client_id, members |
| create_task | project_id, summary, assignee_ids |
| assign_project_member | project_id, user_id, role |
Frequently asked questions
Is it safe to connect Hubstaff to Cotlet?
Yes. You sign in to Hubstaff yourself, in your own Cloud Browser in the EU, and we never save your password. Your agents only get Hubstaff once you enable it, every background request is listed, and the browser profile is stored encrypted with AES-256-GCM, the cipher 1Password uses for its vaults. The AI model never sees a login, posts and messages wait for your OK, and Disable for agents cuts access in one click. Independent scanners grade cotlet.dev A+ on Qualys SSL Labs, securityheaders.com and Mozilla Observatory; live results are on https://cotlet.dev/security.
Give your agent access to Hubstaff.
Free 7-day trial with 2,000 credits, no card needed. Cotlet is independent and not affiliated with Hubstaff.