Custom Panel extension Iframe Not Loading – Cannot Pass Email or Person ID in URL

Hi Pipedrive Community,
I'm building a custom panel app using an external Laravel API that displays transaction data based on the contact's email address. I have the panel visible under the Contact Detail page, and I set the iframe URL like this:
However, Pipedrive doesn’t allow saving the URL with {{email}}
or {{person_id}}
placeholders. So I removed the dynamic email and tried with:
This URL works in the browser and returns static data. But in the Custom Panel, it shows:
“Something went wrong... Please refresh the panel.”
Even the static test route doesn’t load, and the iframe URL doesn’t appear to trigger a request.
I’ve also checked:
- Custom panel is visible on the contact page (e.g.,
/person5
) - The Laravel API is accessible publicly
- Added CORS headers and HTTPS is used
My goal is to use the contact's email to display relevant data from our Laravel backend inside the panel. How can I pass dynamic information (like email or person_id) from Pipedrive into the iframe URL?
Is there a supported method for this, or a workaround?
Any help or guidance is appreciated!
Thanks,
Agan
Answers
-
Hi @agan I'm not sure if this is supported, but I have passed this question on internally to our technical / engineering teams. Will get back to you with more details soon.
0 -
Hello @agan,
I hope you are doing well!
I was able to check this internally and here's the response I got from my team - There is no way to add a dynamic variable to iframe URL as we do not provide this kind of routing. From the vendor's perspective there is only the possibility to work with query params, such as resource, view and selectedId(s).
I hope this helps but please do let me know if you need further assistance!
0