Hey, everyone! I have set up my first Automation ...
# ask-community
a
Hey, everyone! I have set up my first Automation that will Run a Deployment when a Webhook is received. However, I am struggling to understand how to pass a parameter from the Event to my flow as it's native type (i.e. something other than a string). For example, if I want to pass the Event ID to my flow, I use
{{ event.id }}
as one of the parameters. Great - no problem because its a string. However, if I want to pass the occurred DateTime, the Action will either present a Select date and time dropdown if my flow parameter type is defined as a datetime, which prevents me from using the
{{ event.occurred }}
syntax, or I have to change the flow parameter to type string. Similarly, it seems I can't just pass the entire
{{ event }}
object as a parameter without it being converted to a string. So far I have not come across anything in the documentation addressing this. Am I missing something obvious here?