Join Slack
Powered by
Hi all, I am currently trying to trigger a flow th...
# ask-community
c
Carlos Escobedo
07/19/2024, 9:12 PM
Hi all, I am currently trying to trigger a flow that takes in a dictionary or pydantic model from a custom automation which is linked to a event webhook. The flow takes in exactly one parameter called payload:
Copy code
@flow def api_flow(payload: dict | SomePydanticModel):
is there a way to have the automation pass it as a dictionary / pydantic model instead of a json string?
3
Views
Open in Slack
Previous
Next