Embed Calendly appointment booking app into decision tree


I’m trying to set up a flow where leads come through a quiz in LeadsHook and it includes them booking a call. We’re trying to integrate Calendly embedded in LeadsHook, but I"m stuck on getting the name, email & phone number to pre-populate in the Calendly embed (https://help.calendly.com/…/360020052833-Advanced-embed-opt…) but it’s not working.
Does anyone else have a way to do this? My client wants people to go right through to booking a call with them, but I don’t want to just re-direct after the quiz and not caputre all the lead’s info in LeadsHook.
This is the code I’m using inside of LeadsHook results node:

<!-- Calendly inline widget begin -->
<div class="calendly-inline-widget" data-url="https://calendly.com/realapproved/first-time-home-buyer..." style="min-width:320px;height:580px;">&nbsp;</div>
<script type="text/javascript" src="https://assets.calendly.com/assets/external/widget.js">
prefill: {
name: "{first_name} {last_name}"
email: "{email}"
customAnswers: {
a1: "{mobile}"
</script><!-- Calendly inline widget end -->


Hi @Daniel_Wood,