This Torq workflow template automates the synchronization of Torq Case Runbooks whenever changes occur in a specified GitHub repository. When a commit triggers the workflow via a webhook, added or modified files are identified and used to either create new runbooks or update existing ones. This ensures that Torq Case Runbooks are always updated in real-time with the latest changes from the repository, streamlining the case management process for teams.
Trigger
GitHub
Use Cases
Case Management
Workflow Breakdown
Receive a webhook from GitHub when a commit has been made in the repository
Loop over each commit that was sent as part of the webhook
If a file was added, create a new Torq runbook using the content of the file
If a file was modified, check for an existing Torq runbook and if found update, if not found, create a new runbook.
Vendors
GitHub, Utils, Torq Cases
Workflow Output
New or updated Torq runbooks driven by changes in GitHub.