Answered

Lead data in Custom action

  • 9 August 2023
  • 1 reply
  • 42 views

Hi, can you please advise if Custom Actions can be used without HTTP/S request? 
We already send all information to us via Lead Data and would like to just display the buttons from the Lead Data attribute to the user.

For example, in this case, if the user has an array of userid attribute lead data, then it should display a button with this userid (In our case it is not an array, so the button will be one)

How to output this data for the user without requesting a get to a third-party site?

icon

Best answer by Racheal 15 August 2023, 02:04

View original

1 reply

Userlevel 4
Badge +5

Hey @Samantha Racheal from the support engineer team here👋 

 

It looks like you’ve been chatting with my teammate Ana on this, but I’ll add her response here for visibility of other users:
 

It's currently not possible for Custom Actions to be used without HTTP/S request but if you already have all the info in Intercom stored under lead data you should be calling Intercom's API to retrieve all that info for a lead using our Get a contact endpoint here. 👍

Reply