Knock.Workflows.create_schedules
You're seeing just the function
create_schedules
, go back to Knock.Workflows module for more information.
Specs
create_schedules(Knock.Client.t(), String.t(), map()) :: Knock.Api.response()
Creates schedule instances for the specified recipients on the properties map.
Expected properties:
- recipients: list of recipients for schedules to be created for
- actor: actor to be used when trigger the target workflow
- repeats: repeat rules to specify when the workflow must be triggered
- data: data to be used as variables when the workflow runs
- tenant: tenant id to be used for when the workflow runs