How to Fire an API call from Workflow?
Seeing Send Email, Code and Form options.
Thank you.

10 Replies
Hello @lh_magic you can use the code workflow to run custom code within a workflow, where you can perform any fetch or request you want
A bit new to this. Is there an example anywhere in the docs? Thanks in advance.
Unfortunately workflow are still in alpha and moving fast so we haven't produced a stable documentation yet
Hey @thomast, could you please share some of code workflow examples ?
Thank you @prastoin
I'll can probably hack something. Assuming this is similar to AWS lambdas?
Yes exactly
Thanks for confirming.
Let me know if you need help troubleshooting the code @lh_magic!
@thomast Thank you. Will reach out if I run into trouble but should be ok.
@thomast I'm getting this error (Region is missing) when testing workflow. Setup looks ok. Any help is greatly appreciated.

Hey @lh_magic looks like you have an issue with your configuration, please review and setup the serverless sections env variables from https://twenty.com/developers/section/self-hosting/setup#serverless-functions