Hubspot Get Recently Created/Updated step doesn't return recently updated records

Describe the problem/error/question

Using the Get Recently Created/Updated Operation of the Hubspot node (using OAuth connection). Connection has been tested/works, but no matter what it always pulls the same record (which hasn’t been updated “recently”) and records that have been updated recently are not coming through - all I get is that one record over and over.

What is the error message (if any)?

No error message.

Please share your workflow

{
“meta”: {
“templateCredsSetupCompleted”: true,
“instanceId”: “XXXXXXXXXXX…”
},
“nodes”: [
{
“parameters”: {
“rule”: {
“interval”: [
{
“field”: “minutes”,
“minutesInterval”: 10
}
]
}
},
“id”: “11ca6440-0931-491c-a626-0f3a29ee3bae”,
“name”: “Schedule Trigger”,
“type”: “n8n-nodes-base.scheduleTrigger”,
“typeVersion”: 1.2,
“position”: [
1380,
660
]
},
{
“parameters”: {
“authentication”: “oAuth2”,
“resource”: “deal”,
“operation”: “getRecentlyCreatedUpdated”,
“returnAll”: true,
“filters”: {}
},
“id”: “34075fa8-0239-4ec1-b214-fcb90ef2df14”,
“name”: “HubSpot”,
“type”: “n8n-nodes-base.hubspot”,
“typeVersion”: 2.1,
“position”: [
1600,
660
],
“alwaysOutputData”: true,
“credentials”: {
“hubspotOAuth2Api”: {
“id”: “XXXXXXXXXXXXX”,
“name”: “XXXXXXXXXXX”
}
}
},
{
“parameters”: {
“conditions”: {
“options”: {
“caseSensitive”: true,
“leftValue”: “”,
“typeValidation”: “strict”
},
“conditions”: [
{
“id”: “304edfb0-776c-4da8-84f7-17980bddb820”,
“leftValue”: “={{ $json.properties.hs_manual_forecast_category.value }}”,
“rightValue”: “PIPELINE”,
“operator”: {
“type”: “string”,
“operation”: “equals”,
“name”: “filter.operator.equals”
}
}
],
“combinator”: “and”
},
“options”: {}
},
“id”: “246263fd-4ed8-4694-b8fa-86339189b308”,
“name”: “Filter”,
“type”: “n8n-nodes-base.filter”,
“typeVersion”: 2,
“position”: [
1820,
660
]
},
{
“parameters”: {
“assignments”: {
“assignments”: [
{
“id”: “1fc07d90-65fd-44c5-a0c7-525286204fa7”,
“name”: “dealId”,
“value”: “={{ $json.dealId }}”,
“type”: “number”
},
{
“id”: “691141bd-22b7-411f-91e8-a0e992b67f53”,
“name”: “properties.dealname”,
“value”: “={{ $json.properties.dealname.value }}”,
“type”: “string”
},
{
“id”: “a5a5b614-6950-41a4-99ce-37c1afa3d56d”,
“name”: “properties.hs_manual_forecast_category”,
“value”: “={{ $json.properties.hs_manual_forecast_category.value }}”,
“type”: “string”
},
{
“id”: “1661ccc9-9e9b-4db5-86dd-20abfc0f4547”,
“name”: “properties.deal_category”,
“value”: “={{ $json.properties.deal_category.value }}”,
“type”: “string”
},
{
“id”: “2b1744fd-4093-464f-af4e-3745e803aee7”,
“name”: “properties.dealstage”,
“value”: “={{ $json.properties.dealstage.value }}”,
“type”: “string”
},
{
“id”: “715e6bf9-d54e-4b90-b4ad-0ee36f14bcea”,
“name”: “properties.amount_in_home_currency”,
“value”: “={{ $json.properties.amount_in_home_currency.value }}”,
“type”: “number”
},
{
“id”: “ee05214f-b7ef-432c-a991-897330bf6427”,
“name”: “properties.amount”,
“value”: “={{ $json.properties.amount.value }}”,
“type”: “number”
},
{
“id”: “c43ed2fe-00b6-491f-998c-c608c065df53”,
“name”: “properties.closedate”,
“value”: “={{new Date($json.properties.closedate.value.toInt()).toISOString() }}”,
“type”: “string”
}
]
},
“options”: {}
},
“id”: “a843c121-2db6-448e-b1f6-dfef52074f98”,
“name”: “Edit Fields”,
“type”: “n8n-nodes-base.set”,
“typeVersion”: 3.3,
“position”: [
2040,
660
]
},
{
“parameters”: {
“options”: {
“headerRow”: true
}
},
“id”: “5f63173f-6a82-423d-846e-c7da895475db”,
“name”: “Convert to File”,
“type”: “n8n-nodes-base.convertToFile”,
“typeVersion”: 1.1,
“position”: [
2260,
660
]
}
],
“connections”: {
“Schedule Trigger”: {
“main”: [
[
{
“node”: “HubSpot”,
“type”: “main”,
“index”: 0
}
]
]
},
“HubSpot”: {
“main”: [
[
{
“node”: “Filter”,
“type”: “main”,
“index”: 0
}
]
]
},
“Filter”: {
“main”: [
[
{
“node”: “Edit Fields”,
“type”: “main”,
“index”: 0
}
]
]
},
“Edit Fields”: {
“main”: [
[
{
“node”: “Convert to File”,
“type”: “main”,
“index”: 0
}
]
]
}
},
“pinData”: {}
}

Information on your n8n setup

  • n8n version: 1.38.1
  • Running n8n via n8n cloud

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

+bump - can’t imagine I’m the only one seeing this…

Hey @jl_ES,

Looking at the node we use the recent/created endpoint rather than modified. Is the record we display the most recently created deal?

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.