Move delivery ready opportunity work into review
Give delivery work a direct path into code review as soon as a Salesforce opportunity reaches the agreed milestone.
Trigger
New or Updated Opportunity
Triggers when a Salesforce Opportunity is created or updated.
Action
Create a pull request
Creates a new pull request in a specified bitbucket repository, ensuring the source branch exists and is distinct from the (optional) destination branch.
Why this helps
Implementation work can be ready for review while the business milestone that should prompt it goes unnoticed.
- Connect a business milestone to code review.
- Include deal context reviewers need to understand priority.
- Reduce waiting between delivery readiness and review.
Setup
Build it in a few focused steps.
- 1Connect Salesforce and Bitbucket once in the Notis portal.
- 2Create an automation in Automations, New Automation, and name it.
- 3In one instruction, describe the opportunity condition and ask Notis to create a pull request from the existing source branch with relevant context.
- 4Pick New or Updated Opportunity and choose where run reports go.
- 5Test with one real qualifying opportunity and valid source branch.
Questions about this workflow
Does the event identify when an opportunity reaches a specific milestone?
It triggers on opportunity creation or update. Describe the relevant condition in your instruction using the available opportunity details.
Must the source branch already exist?
Yes. The pull request action requires the source branch to exist in the specified repository.
When this happens · Trigger
Do this · Action
Supported Triggers and Actions
Notis builds workflows that link Salesforce to Bitbucket. A trigger fires from one place; an action lands in another.
Salesforce triggers
Bitbucket actions
Recurring trigger
Notis starts this workflow on a schedule, such as daily, weekly, or during business hours.
Create a branch
Creates a new branch in a bitbucket repository from a target commit hash; the branch name must be unique, adhere to bitbucket's naming conventions, and not include the 'refs/heads/' prefix.
Webhook trigger
Notis starts this workflow when an external tool or custom backend sends an HTTP request.
Create an issue
Creates a new issue in a bitbucket repository, setting the authenticated user as reporter; ensures assignee (if provided) has repository access, and that any specified milestone, version, or component ids exist.
Account Created or Updated
Triggers when an Account is created or updated in Salesforce. Uses LastModifiedDate high-watermark to capture both creations and updates.
Create an issue comment
Adds a new comment with markdown support to an existing bitbucket issue.
Contact Updated
Triggers when an existing Salesforce Contact record is modified. Emits changed fields alongside relevant timestamps.
Create a pull request
Creates a new pull request in a specified bitbucket repository, ensuring the source branch exists and is distinct from the (optional) destination branch.
Record Updated (Generic SObject)
Triggers when monitored fields change on any Salesforce SObject. You specify the SObject type and which field values should be returned in the payload. The trigger uses SystemModstamp to detect changes regardless of which specific field changed.
Create repository
Creates a new bitbucket 'git' repository in a specified workspace, defaulting to the workspace's oldest project if `project key` is not provided.
New Contact Trigger
Triggers when a new Contact is Created in Salesforce.
Create snippet comment
Posts a new top-level comment or a threaded reply to an existing comment on a specified bitbucket snippet.
New Lead Trigger
Triggers when a new Lead is created in Salesforce.
Delete issue
Permanently deletes a specific issue, identified by its `issue id`, from the repository specified by `repo slug` within the given `workspace`.
New or Updated Opportunity
Triggers when a Salesforce Opportunity is created or updated.
Delete repository
Permanently deletes a specified bitbucket repository; this action is irreversible and does not affect forks.
Connect any two apps with Notis in the middle.
Salesforce and Bitbucket, 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 Bitbucket.