Sure! To use the $return_value from the get_tokens_from_xano step and send an HTTP request with it as the body, you can use the following code in a new code step: import { axios } from "@pipedream/platform"; export default defineComponent({ async run({ steps, $ }) { const url = "https://your-api-url.com/endpoint"; const body = steps.get_tokens_from_xano.$return_value; const response = await axios(this, { method: "POST", url: url, data: body, }); return response; }, }); Replace https://your-api-url.com/endpoint with the actual URL you want to send the request to. This code sends a POST request with the $return_value from the get_tokens_from_xano step as the request body.
Thanks . In this case I was not using the $return_value since the previous step was exporting values with $.**export**("tokens", tokens); , not returning them.
Just tested again returning a value from get_tokens_from_xano instead of exporting it, and the following throws on get_tokens_from_xano being undefined: