Add OCR model context to new pull requests
Review model-related changes with the current configuration already in view.
Trigger
New Pull Request Created
Triggers when a new pull request is created in GitHub, matching the optional configured filters. Emits an event for each newly created pull request. Supports filtering by repository, owner/organisation, author, assignee, label, state, base branch, head branch, and draft status.
Action
Get OCR Model Details
Tool to retrieve details of an ocr model. use when you need full metadata of a model by its id.
Why this helps
Pull requests that touch extraction logic start without the model context reviewers need.
- Speeds up informed reviews
- Reduces repeated configuration checks
- Creates a consistent PR handoff
Setup
Build it in a few focused steps.
- 1Connect GitHub and Nano Nets in the portal.
- 2Create a new automation.
- 3Ask Notis to retrieve and report the relevant OCR model details when a document-processing pull request is opened.
- 4Pick New Pull Request Created and a reporting channel.
- 5Open a real test pull request.
Questions about this workflow
Does it need a field-mapping screen?
No. State the desired model context in the automation prompt.
When this happens · Trigger
Do this · Action
Supported Triggers and Actions
Notis builds workflows that link GitHub to Nano nets. A trigger fires from one place; an action lands in another.
GitHub triggers
Nano nets actions
Recurring trigger
Notis starts this workflow on a schedule, such as daily, weekly, or during business hours.
Create OCR Model
Tool to create a new ocr model. use when you need to initialize an ocr model before training.
Webhook trigger
Notis starts this workflow when an external tool or custom backend sends an HTTP request.
Delete OCR Model
Tool to delete an ocr model. use when you need to permanently remove a trained model by its id.
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 all OCR models
Tool to retrieve a paginated list of all ocr models. use when you need to inspect or manage existing ocr models. call after authentication to fetch your account's models.
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.
Get All Prediction Files
Tool to fetch all prediction files associated with a specific model. use when you need to list all inference requests after model processing is complete.
New Branch Created
Triggers when a new branch is created in a GitHub repository. Detects newly created branches. Deleted branches do not fire events.
Get OCR Model Details
Tool to retrieve details of an ocr model. use when you need full metadata of a model by its id.
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.
Get OCR Training Images
Tool to retrieve training images for an ocr model. use when you need to page through images associated with a model before training or analysis.
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.
Get Workflows
Tool to retrieve a list of all workflows in your nanonets account. use when you need to inventory or inspect all configured workflows.
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.
List Workflow Documents
Tool to retrieve a paginated list of documents processed by a workflow. use when you need to view documents after processing.
Connect any two apps with Notis in the middle.
GitHub and Nano nets, 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 Nano nets.