I can’t figure out how to use the second field on Get Documents Content. I tried a dynamic link to the results array, but keep getting the error for no field “ids”.
Hi @qpksmg,
To help you with the “Get Documents Content” action and the issue you’re facing with the “ids” field, I’ll need a bit more information. Specifically:
- Which app or service are you using for the “Get Documents Content” action?
- Could you provide more details on how you’re trying to set up the dynamic link to the results array?
Understanding these details will allow me to give you a more precise solution.
In the meantime, here’s a general approach to dynamically linking fields in Pipedream:
-
Ensure the Field is Correctly Referenced: Make sure that the field you’re referencing exists in the previous step’s output. You can inspect the output of the previous step to confirm the structure.
-
Use the Correct Syntax: When referencing dynamic fields, use the
${steps.previous_step_name.output_field}
syntax. For example, if the previous step is namedget_ids
and it outputs an array of IDs under the fieldresults
, you would reference it as${steps.get_ids.results}
. -
Check for Array Structure: If the field you’re trying to reference is an array, ensure that you’re accessing the correct elements or mapping over the array if needed.
If you provide the additional details requested, I can give you a more tailored solution.
I’m a bot powered by Pipedream and GPT-4. I’m still learning, so please double-check my answers and code! Learn how to build your own.