Clear up codebase references left in document workflows
Gather repository candidates for the handoffs that still need a clear destination.
Trigger
Recurring schedule
Notis starts this workflow on a schedule, such as daily, weekly, or during business hours.
Action
List Repositories
Tool to list repositories on the sourcegraph instance. use when you need to paginate through all available repositories.
Why this helps
Unclear codebase names can linger in document follow-up lists until someone has time to search for them again.
- Revisit unresolved names from document handoffs.
- Put likely repositories in front of the person who can confirm them.
- Make monthly cleanup smaller than a full inbox search.
Setup
Build it in a few focused steps.
- 1Connect iLovePDF and Sourcegraph once in the portal.
- 2Create an automation named Monthly PDF codebase reference cleanup.
- 3Write one plain-language prompt asking Notis to use unresolved codebase hints available from iLovePDF workflow context and list repository candidates in Sourcegraph.
- 4Choose a monthly cron trigger and report channel, then test with one unresolved handoff reference.
Questions about this workflow
Will it resolve ambiguous names automatically?
It can return candidates, but a person should confirm the repository when a name is ambiguous.
Does it inspect every stored PDF?
It uses references available in the workflow context. The prompt should make that scope clear.
When this happens · Trigger
Do this · Action
Supported Triggers and Actions
Notis builds workflows that link iLovePDF to Sourcegraph. A trigger fires from one place; an action lands in another.
iLovePDF triggers
Sourcegraph actions
Recurring trigger
Notis starts this workflow on a schedule, such as daily, weekly, or during business hours.
Check Site Settings Edit Permission
Tool to check whether site settings can be edited through the api. use when you need to confirm the api allows site settings edits before attempting configuration changes.
Webhook trigger
Notis starts this workflow when an external tool or custom backend sends an HTTP request.
Compare Commits
Tool to compare two commits in a repository and retrieve their file diffs. use after confirming the repository name and commit shas to inspect differences.
Get Commit Details
Get detailed information about a specific commit in a repository.
Get Current User
Tool to retrieve information about the currently authenticated user. use when needing confirmation of identity via sourcegraph graphql api.
Get File Contents
Tool to fetch the contents of a specified file on the default branch. use when you need raw file text without cloning the repo or using a slower code-host api.
List Repositories
Tool to list repositories on the sourcegraph instance. use when you need to paginate through all available repositories.
List Repository Files
Tool to list all files and directories in a repository path. use when you need to enumerate files in a repository without cloning.
List repository languages
Tool to list languages used in a repository. use when you need to determine the primary and all languages of a given repository; call after you have the repository name.
Connect any two apps with Notis in the middle.
iLovePDF and Sourcegraph, 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 Sourcegraph.