<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Problem with zapier triggers in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Problem-with-zapier-triggers/m-p/280845#M25810</link>
    <description>&lt;P&gt;Welcome,&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/99865"&gt;@DorisGRW&lt;/a&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks so much for providing that gist!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It looks like you're &lt;CODE&gt;POST&lt;/CODE&gt;ing to the&amp;nbsp;&lt;A href="https://developers.hubspot.com/docs/methods/engagements/create_engagement" target="_self"&gt;&lt;EM&gt;Create an engagement&lt;/EM&gt;&lt;/A&gt; endpoint with the payload:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;{
  "engagement": {
    "active": true,
    "type": "CALL",
    "timestamp": 1562943379686
  },
  "associations": {
    "contactIds": []
  },
  "metadata": {
    "toNumber": "+19545194964",
    "fromNumber": "+17868029303",
    "status": "COMPLETED",
    "externalId": "68516",
    "durationMilliseconds": "8000",
    "externalAccountId": "1689",
    "body": "   US"
  }
}&lt;/PRE&gt;
&lt;P&gt;While this creates an engagement on our backend, it does not associate it with a contact record since the&amp;nbsp;&lt;CODE&gt;contactIds&lt;/CODE&gt; array in the &lt;CODE&gt;associations&lt;/CODE&gt; object is empty.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Per &lt;A href="https://community.hubspot.com/t5/APIs-Integrations/Creating-a-call-engagement-from-Twilio-to-Hubspot/m-p/272663/highlight/true#M24749" target="_self"&gt;this similar post&lt;/A&gt;:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;HubSpot will&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;not&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;automatically associate&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;CALL&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;engagements with contacts by the&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;toNumber&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;value in the&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;metadata&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;object. As when&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://developers.hubspot.com/docs/methods/engagements/create_engagement" target="_self" rel="nofollow noopener noreferrer"&gt;creating other types of engagements&lt;/A&gt;&lt;SPAN&gt;, you must include the&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;associations&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;object and list the desired contact&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;vid&lt;/CODE&gt;&lt;SPAN&gt;s in the&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;contactIds&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;array.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;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.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 16 Jul 2019 12:32:02 GMT</pubDate>
    <dc:creator>IsaacTakushi</dc:creator>
    <dc:date>2019-07-16T12:32:02Z</dc:date>
    <item>
      <title>Problem with zapier triggers</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Problem-with-zapier-triggers/m-p/280649#M25806</link>
      <description>&lt;P&gt;Hi Hubspot support,&lt;/P&gt;&lt;P&gt;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?&lt;/P&gt;&lt;P&gt;Here's a gist of a post from Hubspot:&lt;BR /&gt;&lt;A href="https://cdn.zapier.com/storage/files/521e126157997efaf5314eb8f3c92a51.txt" target="_blank"&gt;https://cdn.zapier.com/storage/files/521e126157997efaf5314eb8f3c92a51.txt&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for the assistance!&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jul 2019 13:55:01 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Problem-with-zapier-triggers/m-p/280649#M25806</guid>
      <dc:creator>DorisGRW</dc:creator>
      <dc:date>2019-07-15T13:55:01Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with zapier triggers</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Problem-with-zapier-triggers/m-p/280845#M25810</link>
      <description>&lt;P&gt;Welcome,&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/99865"&gt;@DorisGRW&lt;/a&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks so much for providing that gist!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It looks like you're &lt;CODE&gt;POST&lt;/CODE&gt;ing to the&amp;nbsp;&lt;A href="https://developers.hubspot.com/docs/methods/engagements/create_engagement" target="_self"&gt;&lt;EM&gt;Create an engagement&lt;/EM&gt;&lt;/A&gt; endpoint with the payload:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;{
  "engagement": {
    "active": true,
    "type": "CALL",
    "timestamp": 1562943379686
  },
  "associations": {
    "contactIds": []
  },
  "metadata": {
    "toNumber": "+19545194964",
    "fromNumber": "+17868029303",
    "status": "COMPLETED",
    "externalId": "68516",
    "durationMilliseconds": "8000",
    "externalAccountId": "1689",
    "body": "   US"
  }
}&lt;/PRE&gt;
&lt;P&gt;While this creates an engagement on our backend, it does not associate it with a contact record since the&amp;nbsp;&lt;CODE&gt;contactIds&lt;/CODE&gt; array in the &lt;CODE&gt;associations&lt;/CODE&gt; object is empty.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Per &lt;A href="https://community.hubspot.com/t5/APIs-Integrations/Creating-a-call-engagement-from-Twilio-to-Hubspot/m-p/272663/highlight/true#M24749" target="_self"&gt;this similar post&lt;/A&gt;:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;HubSpot will&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;not&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;automatically associate&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;CALL&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;engagements with contacts by the&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;toNumber&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;value in the&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;metadata&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;object. As when&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://developers.hubspot.com/docs/methods/engagements/create_engagement" target="_self" rel="nofollow noopener noreferrer"&gt;creating other types of engagements&lt;/A&gt;&lt;SPAN&gt;, you must include the&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;associations&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;object and list the desired contact&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;vid&lt;/CODE&gt;&lt;SPAN&gt;s in the&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;contactIds&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;array.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;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.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jul 2019 12:32:02 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Problem-with-zapier-triggers/m-p/280845#M25810</guid>
      <dc:creator>IsaacTakushi</dc:creator>
      <dc:date>2019-07-16T12:32:02Z</dc:date>
    </item>
  </channel>
</rss>

