Open arielo-galliot opened 3 months ago
It looks like recipient is the required missing field here
courier.AutomationSendStep(
profile={"email": data["email"]},
template=template,
action="send",
data=data['template_data'],
recipient=data["user_id"]
)
We will update the AutomationSendStep spec then close the ticket.
It's worth noting that we have an AutomationV2SendStep which is preferred and has more options. recipient isn't required there
Tried to create ad hoc automation with delay and send steps, but not sure how can I pass
to
in send step to point email of recipient. I noticed in the code that this step can receive profile - is this the way to pass recipient email? This is the code I am using:Running it receive this error: