Hi everyone,
I’m facing an issue in Dust where I want to use the output (a ticket ID) from one block as part of the URL in the next API call block.
Specifically, I have a first block that outputs a ticket ID, and in the next block I want to call an API like:
api.fabriq.tech/api/v1/ticket/{ticketId}/task
where {ticketId} should be replaced dynamically by the value from the previous block.
I tried using env.state.RECUP_TICKET_ID directly in the URL field, but I get an error saying "failed to lookup address information: Name or service not known".
What is the correct way to reference the output of a previous block (for example, RECUP_TICKET_ID) and build a full URL for the next block?
Any help or example would be much appreciated!
Thank you!