# Link newly generated Lead with a event record in Salesforce

**URL:** <https://devforum.zoom.us/t/link-newly-generated-lead-with-a-event-record-in-salesforce/20834>\
**Category:** App Marketplace\
**Created:** [June 9, 2020, 10:28pm UTC](https://devforum.zoom.us/t/link-newly-generated-lead-with-a-event-record-in-salesforce/20834 "2020-06-09T22:28:00Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![HChirra](https://avatars.discourse-cdn.com/v4/letter/h/73ab20/32.png) [@HChirra](https://devforum.zoom.us/u/HChirra)\
**Post date:** [June 9, 2020, 10:28pm UTC](https://devforum.zoom.us/t/link-newly-generated-lead-with-a-event-record-in-salesforce/20834/1 "2020-06-09T22:28:00Z")

</div>

We have integrated Zoom Native App with Salesforce, which is adding Leads when new registrant is added for the Zoom webinar.

We have a custom Event table with a event record which is manually created with Webinar ID field that matches with Zoom webinar. Now we wanted to link the Leads coming in with Events record through webinar ID. How can we do this? Please help.

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [June 12, 2020, 10:16pm UTC](https://devforum.zoom.us/t/link-newly-generated-lead-with-a-event-record-in-salesforce/20834/2 "2020-06-12T22:16:51Z")

</div>

Hey @HChirra,

Have you read through the Zoom Salesforce App docs?

> **[Installation and Configuration - Salesforce](https://zoomappdocs.zoom.us/salesforce/install-and-configure)**
>
> Stoplight Hubs are the easiest way to generate API documentation, technical guides, tutorials, and more! Powered by Stoplight.io

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![HChirra](https://avatars.discourse-cdn.com/v4/letter/h/73ab20/32.png) [@HChirra](https://devforum.zoom.us/u/HChirra)\
**Post date:** [June 13, 2020, 2:33am UTC](https://devforum.zoom.us/t/link-newly-generated-lead-with-a-event-record-in-salesforce/20834/3 "2020-06-13T02:33:15Z")

</div>

Thank you Tommy for responding. I have read the documentation, but couldn’t find any information on how to retrieve Webinar ID for the Lead that’s synched into salesforce.

Is there a way I can establish\find the link between the Lead in SF Lead object and registrant in zoom\_app\_\_Zoom\_Webinar\_Registrant\_\_c?

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [June 16, 2020, 3:15am UTC](https://devforum.zoom.us/t/link-newly-generated-lead-with-a-event-record-in-salesforce/20834/4 "2020-06-16T03:15:39Z")

</div>

Hey @HChirra,

Happy to help!

I will reach out to our engineers who built the integration and ask. 🙂 (ZOOM-169812)

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![HChirra](https://avatars.discourse-cdn.com/v4/letter/h/73ab20/32.png) [@HChirra](https://devforum.zoom.us/u/HChirra)\
**Post date:** [June 23, 2020, 1:01pm UTC](https://devforum.zoom.us/t/link-newly-generated-lead-with-a-event-record-in-salesforce/20834/5 "2020-06-23T13:01:27Z")

</div>

Hi @tommy, Any update from you engineers? Thank you.

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [June 24, 2020, 4:54pm UTC](https://devforum.zoom.us/t/link-newly-generated-lead-with-a-event-record-in-salesforce/20834/6 "2020-06-24T16:54:30Z")

</div>

Hey @HChirra,

Let me know if this note from our engineers helps:

We use Zoom\_Webinar\_History\_\_c associate Lead/Contact with Zoom\_Webinar\_Registrant\_\_c. From the webinar related to page, you can see the relationship between lead and zoom webinar registrant.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/f/f59f6321c5d0efe11d2ce00536083ad862b9b01a.png)

There is a Lookup(Zoom Webinar : salesforce id) field on Zoom\_Webinar\_Registrant\_\_c object.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![HChirra](https://avatars.discourse-cdn.com/v4/letter/h/73ab20/32.png) [@HChirra](https://devforum.zoom.us/u/HChirra)\
**Post date:** [June 29, 2020, 3:20pm UTC](https://devforum.zoom.us/t/link-newly-generated-lead-with-a-event-record-in-salesforce/20834/7 "2020-06-29T15:20:13Z")

</div>

@Tommy, Thank you for the information. It was very helpful.

I see another object: zoom\_app\_\_Zoom\_Webinar\_Attendee\_\_c, why is this object empty, event if we have Attendees for a webinar? Can you please advise.

Thank you for your help.

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [June 30, 2020, 5:06pm UTC](https://devforum.zoom.us/t/link-newly-generated-lead-with-a-event-record-in-salesforce/20834/8 "2020-06-30T17:06:42Z")

</div>

Hey @HChirra,

Can you provide me your [webinarUUID](https://marketplace.zoom.us/docs/api-reference/zoom-api/webinars/webinar) so I can check?

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![HChirra](https://avatars.discourse-cdn.com/v4/letter/h/73ab20/32.png) [@HChirra](https://devforum.zoom.us/u/HChirra)\
**Post date:** [June 30, 2020, 8:07pm UTC](https://devforum.zoom.us/t/link-newly-generated-lead-with-a-event-record-in-salesforce/20834/9 "2020-06-30T20:07:12Z")

</div>

Here are couple of Webinar UUID’s. Thank you.

5B0v5Gp5ScmiEwZMArlqwg==  
K3cOYi8BTMiyD/AiQWNdkA==

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [July 1, 2020, 5:03pm UTC](https://devforum.zoom.us/t/link-newly-generated-lead-with-a-event-record-in-salesforce/20834/10 "2020-07-01T17:03:07Z")

</div>

Hey @HChirra,

We are looking into this. I will get back to you with an update.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [July 2, 2020, 7:05pm UTC](https://devforum.zoom.us/t/link-newly-generated-lead-with-a-event-record-in-salesforce/20834/11 "2020-07-02T19:05:20Z")

</div>

Hey @HChirra,

If you have finished the Oauth flow for webinar Webhook App on zoom config page from the following link, after the webinar ends, it will synchronize webinar details including actual start/end time, participant count immediately. After 5 minutes, the attendees info will be synchronized to salesforce.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/d/d5775c956c7d7fc278f633d7c9b0905ff1945a8b.png)

If the attendees aren’t synchronized to salesforce successfully, you can also click the manual sync button on the Zoom webinar detail page to synchronize the info.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/c/c7b885c2baaf89e89bd4c18facef269dcd7742c4.png)

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![HChirra](https://avatars.discourse-cdn.com/v4/letter/h/73ab20/32.png) [@HChirra](https://devforum.zoom.us/u/HChirra)\
**Post date:** [July 2, 2020, 8:09pm UTC](https://devforum.zoom.us/t/link-newly-generated-lead-with-a-event-record-in-salesforce/20834/12 "2020-07-02T20:09:00Z")

</div>

@Tommy, Thank you for looking into this issue. Yes, I have configured Salesforce and Zoom by authorizing the accounts.

Registrants information is being getting synched, but the actual attendee information is not being synched. Tried clicking on manual synch button too.

 ![image001.png](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/7/738ced555d2c7dba2b97a0af3b49e4ebccdfd378.png)

When Zoom shows 4 Unique Viewers. Is there a way I can get Actual # of Attendees after the webinar is ended?

 ![image002.png](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/1/187bc21f3a135b4d3a0afdbc51eeb25b6a1ddaa6.png)

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [July 6, 2020, 8:42pm UTC](https://devforum.zoom.us/t/link-newly-generated-lead-with-a-event-record-in-salesforce/20834/13 "2020-07-06T20:42:58Z")

</div>

Hey @HChirra,

Let me check on this for you.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [July 7, 2020, 2:17am UTC](https://devforum.zoom.us/t/link-newly-generated-lead-with-a-event-record-in-salesforce/20834/14 "2020-07-07T02:17:54Z")

</div>

Hey @HChirra,

You can get Actual # of Attendees from the following red field (Label Name: Actual Number of Participants, field name: zoom\_app\_\_Number\_of\_Participants\_\_c, it is on Zoom Webinar object.)

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/e/e75d32247c6913c9b4f08485208050cac84bb9d8.png)

Has the webinar been held yet? You can synchronize the webinar attendees only after it is over and has been a few minutes.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![HChirra](https://avatars.discourse-cdn.com/v4/letter/h/73ab20/32.png) [@HChirra](https://devforum.zoom.us/u/HChirra)\
**Post date:** [July 8, 2020, 3:57am UTC](https://devforum.zoom.us/t/link-newly-generated-lead-with-a-event-record-in-salesforce/20834/15 "2020-07-08T03:57:51Z")

</div>

Hi @tommy,

Yes, the webinar is held and tried manual synch button after the completion of webinar, but the actual attendee info is not updated. I have verified authorization too, please advise what I am missing. Thank you.

 ![image001.png](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/b/bc1925eca1743e5d04819e1f2df32eae08694148.png)

---

<div class="post-metadata">

**Author:** ![jkenzer](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jkenzer/32/11626_2.png) [@jkenzer](https://devforum.zoom.us/u/jkenzer)\
**Post date:** [July 8, 2020, 7:30pm UTC](https://devforum.zoom.us/t/link-newly-generated-lead-with-a-event-record-in-salesforce/20834/16 "2020-07-08T19:30:33Z")

</div>

I am experiencing the exact same issue as described by HChirra. It looks like everything work as expected but actual webinar attendees did not sync over - even after trying a manual sync. My webinar shows no value in the Actual Number of Participants field and by zoom\_app\_\_Zoom\_Webinar\_Attendee\_\_c object is empty. I would also assume that the attendees’ status in the Campaign would change from Approved to Attended?

---

<div class="post-metadata">

**Author:** ![jkenzer](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jkenzer/32/11626_2.png) [@jkenzer](https://devforum.zoom.us/u/jkenzer)\
**Post date:** [July 8, 2020, 8:14pm UTC](https://devforum.zoom.us/t/link-newly-generated-lead-with-a-event-record-in-salesforce/20834/17 "2020-07-08T20:14:32Z")

</div>

I think we figured out our issue. When we first created the webinar in Zoom, it created two instances in Salesforce for some reason. Not sure why, but that seems to have created an error in our Apex Jobs. We just tried again fresh and it only created one instance of the webinar and everything worked as expected.

I guess we will just keep an eye out it creating duplicate webinars in Salesforce.

---

<div class="post-metadata">

**Author:** ![HChirra](https://avatars.discourse-cdn.com/v4/letter/h/73ab20/32.png) [@HChirra](https://devforum.zoom.us/u/HChirra)\
**Post date:** [July 8, 2020, 8:37pm UTC](https://devforum.zoom.us/t/link-newly-generated-lead-with-a-event-record-in-salesforce/20834/18 "2020-07-08T20:37:49Z")

</div>

@jkenzer, Actual Number of Participants fields is synced over automatically after the webinar is held?

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [July 10, 2020, 4:16pm UTC](https://devforum.zoom.us/t/link-newly-generated-lead-with-a-event-record-in-salesforce/20834/19 "2020-07-10T16:16:32Z")

</div>

Happy to hear you got it working @jkenzer! 🙂

@HChirra were you able to get the sync to work?

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![HChirra](https://avatars.discourse-cdn.com/v4/letter/h/73ab20/32.png) [@HChirra](https://devforum.zoom.us/u/HChirra)\
**Post date:** [July 10, 2020, 4:32pm UTC](https://devforum.zoom.us/t/link-newly-generated-lead-with-a-event-record-in-salesforce/20834/20 "2020-07-10T16:32:01Z")

</div>

@tommy No, Actual Number of participant count is not being synched.

All the other data, Start Time, Status, Actual End time are synched.

![image001.jpg](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/f/f464dd1c7c382c015b3fc53eebe1cd1aadffee61.jpeg)

![image002.jpg](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/a/afc8b23b577bf5509965d0b54e9660d9153ffec7.jpeg)

[Next page](https://devforum.zoom.us/t/link-newly-generated-lead-with-a-event-record-in-salesforce/20834.md?page=2)
