Connect your workflows repo and branch
Workflows
The quickest way to see an end-to-end example is to follow this guide. It will help you set up your project and create your first workflow.
The base template contains a basic workflow that writes Hello, world! to runtime logs when a user authenticates.
Sign in to your Kinde account and go to Settings > Git repo
Select Connect GitHub
Follow the instructions to connect your GitHub account to Kinde
Select the repository you just created, then select Next
Select the branch (e.g., “main”) and select Save
Kinde will automatically sync the code and create a new workflow for you.
Go to Kinde home > Workflows to view your new workflow. You should see a new workflow called Workflow 1
Select the workflow to see the details and deployments
Select Runtime logs to view the logs for the workflow. This should currently be empty.
Assuming you have a Kinde application set up, you can test your workflow by signing in to your application. This will trigger the workflow and a new runtime log entry will be available to view.
Open Runtime logs for the workflow again (refresh the page if the list does not update).
Select the new log entry to see Hello world in the output (see sample below).
Post-authentication trigger firedWorkflow foundJavaScript execution started…Info Hello world🎉 Workflow completed in 0.7msYou have successfully created your first Kinde workflow! You can now modify the workflow code to do whatever you like or add more workflows.