Run workflows from the CLI
You can now test run your workflows as you're building them, all from the Knock CLI. As you make and push changes, you can use the new workflow run
command to trigger a workflow for to up to 5 recipients at a time, enabling quick iterations of your notifications. See how to make these calls in our CLI docs.
Add a signing key to fetch steps and webhooks
Weβre improving the security of our fetch step and HTTP webhooks by introducing request signing. Request signing allows a secret to be shared between Knock and your service so that you can verify that a request has come from Knock. Learn more about enabling this for your workflows.
Fixes and improvements
- π We improved the performance of loading event and action logs
- π We increased the granularity of error messages in the debugger
- π We added a dropdown to navigate between object collections in the dashboard
- π We now show workflow runs tab on users, objects and tenant pages
- π You can now filter tenants by name and ID, and we also show the tenant ID and name in workflow runs that include a tenant
- π When you create a workflow, it is now initially now set to
active
- π We made performance and ergonomic improvements to all places that have a user searchbox
- π You can now edit your data payload as JSON in the workflow template builder
- π You can delete variables at the environment level
- π We fixed a bug where owners of newly created accounts couldn't create new environments
- π We fixed a bug in which were treating a batch step skip with a
conditions_not_met
code as an error in our instrumentation code when in fact it is valid - π We fixed an edge case where a recipient's timezone property doesn't contain a valid timezone
- π We fixed an issue where batched workflows that used the same cancellation key weren't being fully canceled
- π We now prevent
tenant
andcurrent_message
variables from being extracted from templates into the variable pane when editing a template - π We added better support for when using
assign
in liquid templates - π We fixed a bug where when switching environments on a translation page the translation wouldn't be found
- π We fixed a bug that didn't properly use the
scheduled_at
date for creating and updating schedules - π We fixed a bug where long condition names would prevent seeing the "..." menu in the workflow builder
- π We fixed race condition when scheduling a workflow's next occurrence
- π We fixed an issue with cloning a workflow where adding variable properties would error during editing
- π We fixed a bug where users couldn't edit Knock-managed environments
- π We removed the ability to set a
delivered
condition on push steps since those aren't supported events for push - π We fixed a bug where the
batch_key
wouldn't be saved in the workflow builder