Hi , if you want to have advanced usage with function, I would recommend to use code block in Pipedream with frameworks like llamaindex, langchain, etc… - which will handle function calling, retry, etc… automatically for you.
In your function logic, you can have it call to Pipedream Workflow HTTP Endpoint to do the respective actions you want