<?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: onCreateEngagementSucceeded event not firing for incomingCall() with createEngagement: true in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/onCreateEngagementSucceeded-event-not-firing-for-incomingCall/m-p/1209180#M84808</link>
    <description>&lt;P&gt;Hi &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/765806"&gt;@DDavies9&lt;/a&gt;&lt;/SPAN&gt;,&lt;BR /&gt;&lt;BR /&gt;Thank you for posting to the Community!&lt;BR /&gt;&lt;BR /&gt;I understand that, despite correctly following the HubSpot Calling Extensions SDK documentation and successfully creating an engagement for an incoming call, you are not receiving the expected onCreateEngagementSucceeded or onCreateEngagementFailed events.&lt;BR /&gt;&lt;BR /&gt;I'd like to tag in some of our Community Champions to see if they have experienced anything like this before -- Hi &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/346639"&gt;@GRajput&lt;/a&gt; &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/879479"&gt;@Aly_Mourady&lt;/a&gt; and &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/73663"&gt;@Alex_Elborn&lt;/a&gt; Have any of you seen this? If so, how did you go about resolving it? Any advice?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Cassie, Community Manager&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 07 Oct 2025 11:49:20 GMT</pubDate>
    <dc:creator>chighsmith</dc:creator>
    <dc:date>2025-10-07T11:49:20Z</dc:date>
    <item>
      <title>onCreateEngagementSucceeded event not firing for incomingCall() with createEngagement: true</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/onCreateEngagementSucceeded-event-not-firing-for-incomingCall/m-p/1209149#M84806</link>
      <description>&lt;P class=""&gt;I'm using the HubSpot Calling Extensions SDK to build a custom calling app. I'm currently looking into inbound calling and notifying Hubspot about incoming calls following the documentation&amp;nbsp;&lt;A href="https://developers.hubspot.com/docs/api-reference/crm-calling-extensions-v3/calling-sdk#incomingcall" target="_blank" rel="noopener"&gt;here&lt;/A&gt;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;When I do&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;extensions.incomingCall(callInfo)&lt;/LI-CODE&gt;&lt;P class=""&gt;with&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;createEngagement: true&lt;/LI-CODE&gt;&lt;P class=""&gt;and call&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;extensions.callCompleted(callInfo)&lt;/LI-CODE&gt;&lt;P class=""&gt;with&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;externalCallId&lt;/LI-CODE&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;The engagement is successfully created in HubSpot, but I &lt;STRONG&gt;never&lt;/STRONG&gt; receive the &lt;U&gt;&lt;EM&gt;onCreateEngagementSucceeded&lt;/EM&gt;&lt;/U&gt; or &lt;U&gt;&lt;EM&gt;onCreateEngagementFailed&lt;/EM&gt;&lt;/U&gt; events.&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&lt;STRONG&gt;What I've confirmed:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;My event handlers are registered in the SDK initialization&lt;/LI&gt;&lt;LI&gt;I am using the latest SDK version&lt;/LI&gt;&lt;LI&gt;&lt;U&gt;&lt;EM&gt;createEngagement: true&lt;/EM&gt;&lt;/U&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;is set in the&lt;SPAN&gt;&amp;nbsp;extensions.&lt;/SPAN&gt;&lt;SPAN&gt;incomingCall()&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;call&lt;/LI&gt;&lt;LI&gt;&lt;EM&gt;&lt;U&gt;extensions.callCompleted(data&lt;/U&gt;)&amp;nbsp;&lt;/EM&gt;is being called with my&amp;nbsp;&lt;EM&gt;externalCallId&lt;/EM&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;An engagement is created in Hubspot detailing the incoming call&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;According to the &lt;A href="https://developers.hubspot.com/docs/api-reference/crm-calling-extensions-v3/calling-sdk#incomingcall" target="_blank" rel="noopener"&gt;Calling SDK documentation&lt;/A&gt;, these events should fire when calling &lt;SPAN&gt;incomingCall()&lt;/SPAN&gt; with &lt;SPAN&gt;createEngagement: true&lt;/SPAN&gt;, but they're not being triggered despite the engagement being created successfully.&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;Has anyone else experienced this issue or found a workaround?&lt;/P&gt;</description>
      <pubDate>Tue, 07 Oct 2025 09:52:20 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/onCreateEngagementSucceeded-event-not-firing-for-incomingCall/m-p/1209149#M84806</guid>
      <dc:creator>DDavies9</dc:creator>
      <dc:date>2025-10-07T09:52:20Z</dc:date>
    </item>
    <item>
      <title>Re: onCreateEngagementSucceeded event not firing for incomingCall() with createEngagement: true</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/onCreateEngagementSucceeded-event-not-firing-for-incomingCall/m-p/1209180#M84808</link>
      <description>&lt;P&gt;Hi &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/765806"&gt;@DDavies9&lt;/a&gt;&lt;/SPAN&gt;,&lt;BR /&gt;&lt;BR /&gt;Thank you for posting to the Community!&lt;BR /&gt;&lt;BR /&gt;I understand that, despite correctly following the HubSpot Calling Extensions SDK documentation and successfully creating an engagement for an incoming call, you are not receiving the expected onCreateEngagementSucceeded or onCreateEngagementFailed events.&lt;BR /&gt;&lt;BR /&gt;I'd like to tag in some of our Community Champions to see if they have experienced anything like this before -- Hi &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/346639"&gt;@GRajput&lt;/a&gt; &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/879479"&gt;@Aly_Mourady&lt;/a&gt; and &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/73663"&gt;@Alex_Elborn&lt;/a&gt; Have any of you seen this? If so, how did you go about resolving it? Any advice?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Cassie, Community Manager&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Oct 2025 11:49:20 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/onCreateEngagementSucceeded-event-not-firing-for-incomingCall/m-p/1209180#M84808</guid>
      <dc:creator>chighsmith</dc:creator>
      <dc:date>2025-10-07T11:49:20Z</dc:date>
    </item>
    <item>
      <title>Re: onCreateEngagementSucceeded event not firing for incomingCall() with createEngagement: true</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/onCreateEngagementSucceeded-event-not-firing-for-incomingCall/m-p/1214488#M85024</link>
      <description>&lt;P class=""&gt;Hi,&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;I wanted to follow up and share that I believe I've identified the root cause of my issue.&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;After taking a step back and reviewing the demo code more carefully, I realised I had misunderstood the distinction between the calling remote context and the window context.&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;In the demo code provided by HubSpot, events are sent to HubSpot using &lt;EM&gt;&lt;STRONG&gt;thirdPartyToHostEvents&lt;/STRONG&gt;&lt;/EM&gt; with&lt;/P&gt;&lt;DIV&gt;&lt;PRE&gt;&lt;SPAN&gt;cti&lt;/SPAN&gt;.&lt;SPAN&gt;contract&lt;/SPAN&gt;.&lt;SPAN&gt;incomingCall&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;P class=""&gt;&amp;nbsp;from the appropriate context. However, I had been incorrectly calling&lt;/P&gt;&lt;DIV&gt;&lt;PRE&gt;&lt;SPAN&gt;cti&lt;/SPAN&gt;.&lt;SPAN&gt;incomingCall&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;P class=""&gt;directly from the remote window context, which was preventing the events from properly reaching HubSpot.&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;What made this particularly confusing was I could see in the console Hubspot had received an incomingCall event from the app and&amp;nbsp;the calling widget was still popping up in HubSpot despite this mistake, which led me to believe I was doing things correctly.&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;I'm still not entirely clear on why that partial functionality was working, but it explains why the event handlers weren't firing as expected.&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;Apologies for the confusion on my end, and thanks for your patience in helping me work through this!&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;Hopefully that helps someone out in the future!&lt;/P&gt;</description>
      <pubDate>Tue, 21 Oct 2025 08:09:01 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/onCreateEngagementSucceeded-event-not-firing-for-incomingCall/m-p/1214488#M85024</guid>
      <dc:creator>DDavies9</dc:creator>
      <dc:date>2025-10-21T08:09:01Z</dc:date>
    </item>
  </channel>
</rss>

