Hi @dinolabs and welcome to our community. I think this is a bug in how data is being returned in the piece. I’ll mark this as a bug and wait for @abuaboud to confirm it.
After understanding how you can pass data between the steps in your flow, you can add a Code step that does return JSON.parse(inputs.content); in order to convert this content into an actual JSON object.
Add a Code step after the Pastebin step in your flow. In the inputs, type content as the key and in the value, choose the data coming from the Pastebin step.
SyntaxError: Unexpected token u in JSON at position 0
at JSON.parse ()
at Object.code (/root/codes/WyILBPNbKsi1fexq3CpPT/index.js:5:17)
at Object. (webpack://activepieces/engine/src/lib/executors/code-executer.ts:9:30)
at Generator.next ()