Track new GitHub pull requests in Segment
Create a visible trail of product work as soon as a pull request opens.
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
Segment Track Event
Tool to record a custom user event via Segment HTTP Tracking API. Use when sending events to Segment with valid identity.
Why this helps
Founders lose sight of what is moving when development work lives only in pull request queues.
- Reduces manual progress updates
- Preserves context across busy weeks
Setup
Build it in a few focused steps.
- 1Connect both integrations in the Notis portal.
- 2Ask Notis to create this automation or open New Automation.
- 3Describe tracking each new pull request as a Segment event.
- 4Select the new pull request trigger and reporting channel.
- 5Open a test pull request to confirm it runs.
Questions about this workflow
Will it track draft pull requests?
Yes, if you ask Notis to include drafts in the instruction.
When this happens · Trigger
Do this · Action
Supported Triggers and Actions
Notis builds workflows that link GitHub to Segment. A trigger fires from one place; an action lands in another.
GitHub triggers
Segment actions
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.
Add Labels to Source
Tool to add existing labels to a Source. Use when you have the source ID and want to tag it with metadata labels.
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.
Segment Alias
Tool to alias a previous user ID to a new user ID. Use when merging anonymous and known identities.
New Branch Created
Triggers when a new branch is created in a GitHub repository. Detects newly created branches. Deleted branches do not fire events.
Batch Segment Analytics Events
Tool to send multiple analytics calls in a single batch request. Use when you want to reduce HTTP overhead by batching Identify/Track/Page/Screen/Group calls into one request.
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.
Delete Source
Tool to delete a Segment Source. Use when you need to permanently remove a Source by its ID after confirmation.
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 Daily Per Source API Calls Usage
Tool to fetch daily API call counts per source for a given period. Use when you need daily breakdown of API usage by source after determining the reporting period.
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.
Get Destination
Tool to retrieve a Destination by ID. Use when you need to fetch the full configuration of a Segment Destination instance by its unique identifier. Falls back US→EU public API and legacy app endpoint; returns minimal envelope on legacy HTML or parse errors.
New Repository Collaborator Added
Triggers when a new collaborator is added to a GitHub repository. Monitors the full list of collaborators on a repository and fires an event for each newly added collaborator. The payload includes the collaborator's GitHub username, account ID, profile URL, avatar URL, permission flags (pull, triage, push, maintain, admin), and assigned role name.
Segment Group
Tool to associate an identified user with a group via Segment HTTP Tracking API. Use when grouping users with traits.
Commit Event
Triggered when a new commit is pushed to a repository.
Segment Identify
Tool to identify a user and set/update traits via Segment HTTP Tracking API.
Connect any two apps with Notis in the middle.
Not just GitHub and Segment. Any combination from 1,000+ integrations.
When this happens · Trigger
Do this · Action
Save your first hour today.
7 days free trial with 20$ free usage included.
No card. Works with personal or business Segment.