Cancel unstarted transcription orders for failed workflow runs
Avoid paying for an unused run recording. When a monitored workflow run fails, have Notis check whether its related Castingwords order is still eligible for cancellation.
Trigger
GitHub Workflow Run State Changed
Triggers when a GitHub Actions workflow run's status or conclusion changes. Monitors a single workflow run and fires an event whenever it transitions between states (e.g., queued to in_progress, or in_progress to completed) or when its conclusion is set (e.g., success, failure, cancelled).
Action
Cancel and Refund Audio File
Tool to cancel an ordered audio file and issue a refund if applicable. use when no transcription work has been done on the file (pre-processing, audio processing, error states).
Why this helps
A failed run may leave a recording transcription order in the queue, creating extra cost and another thing to track.
- Catch eligible orders after a workflow run reaches a failure conclusion.
- Reduce the chance of transcribing a recording nobody needs.
- Keep a report of the cancellation attempt with the run context.
Setup
Build it in a few focused steps.
- 1Connect GitHub and Castingwords once in the Notis portal.
- 2Create an automation in Notis and give it a clear name.
- 3Tell Notis to check for the related audio order when the monitored run fails, and cancel and request a refund only if no transcription work has started.
- 4Pick the GitHub Workflow Run State Changed trigger for the run you want to monitor.
- 5Choose where run reports go, then test with one real failed run and its related order.
Questions about this workflow
Can this cancel any Castingwords order?
Only when Notis can identify the related audio file and the file is in a state eligible for cancellation. The action is intended for files with no transcription work completed.
Does every failed run mean the audio order should be cancelled?
No. Your instruction should specify which run relates to which audio order and whether the recording is still needed. That relationship may need to be supplied if the event does not include it.
Will it refund an order automatically?
The action cancels the order and issues a refund if applicable. A refund is not guaranteed for every order.
When this happens · Trigger
Do this · Action
Supported Triggers and Actions
Notis builds workflows that link GitHub to Castingwords. A trigger fires from one place; an action lands in another.
GitHub triggers
Castingwords actions
Recurring trigger
Notis starts this workflow on a schedule, such as daily, weekly, or during business hours.
Cancel and Refund Audio File
Tool to cancel an ordered audio file and issue a refund if applicable. use when no transcription work has been done on the file (pre-processing, audio processing, error states).
Webhook trigger
Notis starts this workflow when an external tool or custom backend sends an HTTP request.
Get Prepay Balance
Tool to retrieve the current prepay balance for the account. use when you need to check available funds before placing new transcription orders.
New Workflow Artifact Created
Triggers when a new workflow artifact is created in a GitHub repository. Monitors for newly created GitHub Actions workflow artifacts. Optionally filters by artifact name to restrict monitoring to specific artifacts.
Get registered webhook URL
Tool to retrieve the currently registered webhook url for account notifications. use when you need to verify your webhook setup.
Branch Changed
Triggers when a GitHub branch changes. Monitors a specific branch for: - New commits pushed (head commit SHA changes) - Protection status toggled (branch becomes protected or unprotected) - Protection settings changed, including: required status checks and their enforcement level, admin enforcement, required pull request reviews (dismiss stale reviews, code owner reviews, approving review count, last push approval), required linear history, force push allowance, deletion allowance, conversation resolution, branch locking, and fork syncing.
Order Transcript
Tool to create a new transcription order for audio/video at a url. use when you have an accessible media url and need to initiate transcription.
New Branch Created
Triggers when a new branch is created in a GitHub repository. Detects newly created branches. Deleted branches do not fire events.
Order Upgrades
Tool to order an upgrade for a specific audio file. use after transcription is complete to add items like timestamps or extra editing. example: 'order timestamps for file 12345'.
Check Run Status / Conclusion Changed
Triggers when a specific GitHub check run changes its status or conclusion. Monitors a single check run for changes to: status (queued, in_progress, completed, etc.), conclusion (success, failure, neutral, cancelled, skipped, timed_out, action_required), started_at, and completed_at.
Register Webhook
Tool to register a webhook url to receive transcript completion notifications. use when you want castingwords to post transcript-complete events to your service endpoint.
Check Suite Status / Conclusion Changed
Triggers when a GitHub check suite changes its status or conclusion for a given ref. Monitors all check suites associated with a git reference (branch, tag, or commit SHA) for changes to status (queued, in_progress, completed, etc.) and conclusion (success, failure, neutral, cancelled, skipped, timed_out, action_required, startup_failure, stale). Optionally filters by GitHub App ID.
List Available SKUs
Tool to retrieve list of available skus. use when you need to know available services and pricing before placing an order.
New Code Scanning Alert Created
Triggers when a new code scanning alert is created in a repository. Fires an event for each newly created code scanning alert detected in the configured repository. Alerts can be filtered by Git reference, scanning tool, state, and severity. The payload includes the alert number, rule details, tool information, state, severity, and the location of the most recent instance.
Test Webhook Call
Tool to request a test webhook call for a specific event type. use after registering a webhook url to ensure webhook notifications are functioning properly.
Connect any two apps with Notis in the middle.
GitHub and Castingwords, or any other combination from 1,000+ integrations.
When this happens · Trigger
Do this · Action
Save your first hour today.
7-day trial of any paid plan, with 20$ of usage included.
No card. Works with personal or business Castingwords.