Move approved customer work into code review
Send an approved opportunity event to Notis and open a Bitbucket pull request when its source branch is ready.
Trigger
Webhook received
Notis starts this workflow when an external tool or custom backend sends an HTTP request.
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
Approved customer work can stall between business approval and the start of implementation review.
- Create a clear handoff from approved deal to code review.
- Carry opportunity context into the pull request description.
- Reduce manual coordination when implementation is ready.
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, ask Notis to create a pull request using the repository, existing source branch, optional destination branch, and opportunity context provided by the request.
- 4Pick a webhook trigger and choose where run reports go.
- 5Send one real example with valid repository and branch details to test.
Questions about this workflow
Does this trigger watch Salesforce directly?
No. It starts when an HTTP request reaches the Notis webhook. The request can carry approved opportunity context.
What is needed to create a pull request?
The action needs a repository and an existing source branch. A destination branch is optional and must differ from the source branch.
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.