How to fetch API Response to be used in app building

Hello world,

Any chance we can pull the API response to be used for Retool App Building?

In my case I am trying to extract the file link from CraftMyPDF API response (the first line as shown in the picture above) to be used on Retool PDF component to display the PDF file and enable download.

Would really appreciate if anyone here can shed some lights.

Cheers.

Best,
Kai

Hi @Kai_Jie_Ang Thanks for reaching out!

Yes, you can reference query data inside of double curly brackets by calling the queryName.data and then the name of your property ({{queryName.data.file}}).

Here's an example:

You can use the State tab to see which properties are available to you and their current values: