APIs & Integrations

DorisGRW
Member

Problem with zapier triggers

SOLVE

Hi Hubspot support,

I'm using Zapier to Create New Engagement and when the zap triggers the information shows in Zapier that it's going to Hubspot but it does not show on my end. Could you please help me understand why?

Here's a gist of a post from Hubspot:
https://cdn.zapier.com/storage/files/521e126157997efaf5314eb8f3c92a51.txt

Thanks in advance for the assistance!

0 Upvotes
1 Accepted solution
IsaacTakushi
Solution
HubSpot Employee
HubSpot Employee

Problem with zapier triggers

SOLVE

Welcome, @DorisGRW.

 

Thanks so much for providing that gist!

 

It looks like you're POSTing to the Create an engagement endpoint with the payload:

 

{
  "engagement": {
    "active": true,
    "type": "CALL",
    "timestamp": 1562943379686
  },
  "associations": {
    "contactIds": []
  },
  "metadata": {
    "toNumber": "+19545194964",
    "fromNumber": "+17868029303",
    "status": "COMPLETED",
    "externalId": "68516",
    "durationMilliseconds": "8000",
    "externalAccountId": "1689",
    "body": "   US"
  }
}

While this creates an engagement on our backend, it does not associate it with a contact record since the contactIds array in the associations object is empty.

 

Per this similar post:

 

HubSpot will not automatically associate CALL engagements with contacts by the toNumber value in the metadata object. As when creating other types of engagements, you must include the associations object and list the desired contact vids in the contactIds array.

 

I'm not familiar with the steps in Zapier, but make sure you're either creating contacts before associating calls with them or sending calls to specific contact records.

Isaac Takushi

Associate Certification Manager

View solution in original post

0 Upvotes
1 Reply 1
IsaacTakushi
Solution
HubSpot Employee
HubSpot Employee

Problem with zapier triggers

SOLVE

Welcome, @DorisGRW.

 

Thanks so much for providing that gist!

 

It looks like you're POSTing to the Create an engagement endpoint with the payload:

 

{
  "engagement": {
    "active": true,
    "type": "CALL",
    "timestamp": 1562943379686
  },
  "associations": {
    "contactIds": []
  },
  "metadata": {
    "toNumber": "+19545194964",
    "fromNumber": "+17868029303",
    "status": "COMPLETED",
    "externalId": "68516",
    "durationMilliseconds": "8000",
    "externalAccountId": "1689",
    "body": "   US"
  }
}

While this creates an engagement on our backend, it does not associate it with a contact record since the contactIds array in the associations object is empty.

 

Per this similar post:

 

HubSpot will not automatically associate CALL engagements with contacts by the toNumber value in the metadata object. As when creating other types of engagements, you must include the associations object and list the desired contact vids in the contactIds array.

 

I'm not familiar with the steps in Zapier, but make sure you're either creating contacts before associating calls with them or sending calls to specific contact records.

Isaac Takushi

Associate Certification Manager
0 Upvotes