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

agan
agan Member Posts: 2 NEW MEMBER
edited May 19 in Apps and Integrations #1

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

  • Manuel Oliveira
    Manuel Oliveira Admin Posts: 1,498 COMMUNITY MANAGER
    1000 Comments Fourth Anniversary 250 Likes 25 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.

  • Helio
    Helio Pipedrive Team Posts: 179 PIPEDRIVE TEAM
    Fifth Anniversary 100 Comments First Answer 5 Likes

    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!