How to get return string from a flow called by codeless?

i’m unsure of how to get the return value from the flow… my paypal webhook works in sandbox mode but it appears to be skipping send email with serial… then updates the users “PAID” property… but i wanna get the SERIALs saved (and email sent) aswell…

Application ID

FF55A111-06AF-7EB1-FFDE-B5B62760CA00

here’s me in some screenshots

please help me figure out what I am doing wrong.

I have updated the flow and codeless blocks.
but now I am getting a SERVER_CODE Error:

when it goes to Automations.activateFlowById (the flow call from in codeless).

the problem is that i CREATE a new OBJECT and put in email value… and passed the object to initial data param in the Call Flow block.

Please Help.. I’m almost finished my Sha256 flow + Serial Service.. just need this to work.

Hi @JesterOC ,

Could you please ensure that the changes from the editor have been deployed and then try to reproduce the problem again?

I attempted to reproduce it and was only able to see the error when I provided a string to the Initial Data field of the Call Flow block. When I passed an object to that field, or left it empty, the problem did not occur.

Regards, Andriy

I was only trying to sha256 hash the email+secretKey so AI transform in a flow is probably over exerting code.. so I opted fer a custom code block to do it + the emailing of the serial instead…
However after alot of testing it’s still not working.. I’m not sure what to do.. it’s as if email != Null is returned as false.. cus I get no errors and no results.

Will give an update once I debug it with some logging code blocks..

Hello @JesterOC

I would recommend that you change the condition to:
image

Does the flow start when you call the payment method?
Does it work ok if you change the AI transform block to something like the “Transfrom Block. Text Uppercase”?

Regards

I ended up using a Custom Code block in codeless to retrieve a users sha256 hash.. returning the variable is simple with a Custom Code block in codeless.