Including results from previous step in an inline string arg
Hello, in a flow I created I'm trying to include results.c[0] from the previous step into the prompt arg of my string, but the variable doesn't get added and instead just includes the text "results.c[0]". How would I add the value of results.c[0] to the prompt arg? Thanks.


5 Replies
Make it an expression not static
Using expression args:
But the input seems to still be

You have to make it a valid javascript expression
you likely have a string in javascript that correspond to a static string like ^
Got it working with
Thanks for the quick response!