Hubspot Task Owner ID - Request Date Too

Describe the problem/error/question

When creating a task, I am able to push down to HubSpot and create the task, but the issue is assigning it to a user. I have found the userId, and verified this by pulling a seperate task ID and validating their association with the tash and userId number. However, when pushing down as either “Fixed” or “Expression” simply typing in the Owner ID will not associate the created task with a user.

It would also be excellent if tasks could have due date changes, or even start date changes (e.g. action 2 days post creation) - but assigning them to a member of the team would be a good start.

Information on your n8n setup

  • **n8n version: 1.99.1
  • **Database SQLite
  • **Running n8n via cloud
2 Likes

+1. I am having the same issues
I’m exploring alternative solutions, but its not ideal.

+1
This is not working.

hubspot says owner IDs is deprecated. Instead User OwnerID, which is not available in the node. Also have no solution for that

I moved from hubspot node to managing the API via http reqests. You can use a POST request in http node to https://api.hubapi.com/crm/v3/objects/tasks, credential ist hubspot app token and the body is as follows:

{

“properties”: {

"hs_timestamp": "<due time as UNIX timestamp>",                                          

"hs_task_subject": "<subject>",        

"hs_task_body": "<body text>",                                                                              

"hubspot_owner_id": "<your hubspot id>",

"hs_task_status": "NOT_STARTED"

},

“associations”: [

{

  "to": { "id": "<contactId of customer>" },

  "types": \[

    {

      "associationCategory": "HUBSPOT_DEFINED",

      "associationTypeId": 204

    }

  \]

}

]

}

works perfect for me.