Hi all, I am currently trying to trigger a flow th...
# ask-community
c
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?