Skip to main content

Notion + Salesforce integration

About Us
Published by JET BI
22 October 2024
106

Integrate Notion and Salesforce 


Overview

Integrating Salesforce with third-party applications like Notion allows you to combine their best features to optimize business processes. Salesforce, as a powerful CRM platform, helps manage customer interactions, sales, and marketing, while Notion serves as a versatile tool for organizing information and managing projects. Combining these two platforms opens up new opportunities for task automation and improved data management. 

Advantages

  1. Process Automation: Automatic data exchange between Salesforce and Notion reduces manual work, increasing efficiency and data accuracy.
  2. Centralized Information Management: Data synchronization ensures access to up-to-date information at any time and from any device.
  3. Enhanced Collaboration: Integration enables teams to work together effectively, combining CRM data with notes, tasks, and projects in Notion.

Integration methods

  1. API Integration: For more flexible and customized solutions, you can use the APIs of both platforms. This allows you to configure data synchronization according to your specific needs.

Let's deep in Notion

Notion is a powerful online platform for knowledge management that allows users to create and organize various types of content such as notes, tasks, tables, databases, to-do lists, projects, and more. It is a versatile tool that can be used both individually and in team projects. Here are some key aspects and features of Notion:

Key Features of Notion:

  1. Notes and Documents:
    • Users can create various notes and documents, format text, and insert images, videos, code, and other media.
  2. Tasks and To-Do Lists:
    • You can create tasks, assign them to other users, set deadlines, and track progress.
  3. Tables and Databases:
    • Notion allows the creation of interactive tables and databases that can be used for project management, task tracking, information storage, and more.
  4. Integrations:
    • The platform supports integrations with other popular tools and services, such as Google Drive, Trello, Slack, etc.
  5. Collaboration:
    • Notion enables real-time collaboration, allowing teams to work together effectively on projects.
  6. Templates:
    • Users can use ready-made templates for various purposes or create their own templates to speed up their workflow.

Uses of Notion:

  1. Personal Productivity:
    • Notion can be used to organize personal notes, to-do lists, daily planning, journaling, and more.
  2. Project Management:
    • The platform is ideal for managing projects of any complexity, using kanban boards, Gantt charts, task lists, and other tools.
  3. Learning and Research:
    • Students and researchers can use Notion to store and organize their notes, conduct research, and compile summaries and plans.
  4. Team Collaboration:
    • Teams can use Notion for collaborative work on documents, projects, tracking progress, and sharing information.

Disadvantages of Notion:

  • Limitations of the Free Version: Some features may require a paid subscription.
  • Learning Curve: It may take time to master all the platform's capabilities.

Specifications

The Notion API enables developers to integrate other software with Notion or automate workflows within the platform. Here’s how it can be applied with Salesforce:

  • Sales Teams: Connect Salesforce to Notion to automatically add closed deals to a Notion database, allowing for cross-functional account management.
  • Engineering Teams: Integrate Jira with Notion to pull bug tickets into a central database, making them visible to all teams. Similarly, connect Salesforce service cases to Notion for improved collaboration on issue resolution.

For example, sales teams might connect Salesforce to Notion — every time a deal is closed in Salesforce, it’s automatically added to a Notion database so you can manage these accounts cross-functionally on Notion (with teams who aren’t using Salesforce). Or your engineering team might build an integration that connects Jira to Notion, so bug tickets can be pulled into a database where all teams can see what's being worked on.


 

These integrations centralize information from different tools into Notion, fostering more efficient collaboration.

What can be accomplished with API integration

The API facilitates programmatic interaction with Notion’s databases, pages, and content through various endpoints. This capability allows teams to automate workflows and manage information more efficiently. Here’s a high-level overview:

  • Databases: Retrieve and manage database entries in Notion directly from Salesforce.


 

  • Pages & Blocks: Create and customize Notion pages and blocks, integrating data from Salesforce.


 

  • Workspace People: Manage workspace users programmatically, enhancing transparency and collaboration.


Creation connection

Before starting the integration, you need to have: 

Notion:


 

Salesforce:

  • Create Authentication Protocols for Named Credentials

    - Provider Type - “Open ID Connect”
    - Consumer Key - OAuth Client ID (Notion)
    - Consumer Secret - OAuth Client Secret (Notion)
    - Authorize Endpoint URL - “https://api.notion.com/v1/oauth/authorize”
    - Token Endpoint URL - “https://api.notion.com/v1/oauth/token”


 

  • After saving, you will see "Salesforce Configuration". Copy the "Callback URL" field and paste it into the “Redirect URIs” field in the Notion Basic Information



 

  • Create an OAuth External Credential with the Browser Flow
    ​​​​- Create Principals
  • Create Permission Set
    - Enable Read, Create, Edit permissions in Object Settings > User External Credentials


  • Add External Credential Principals to External Credential Principal Access



After this steps You can see Principal Access in External Credential Principals:


  • Create Named Credential
    - URL  - “https://api.notion.com”
    - External Credential - External Credential that was created in the previous steps
     
  • Press the "Authenticate" button located in Setup > Named Credentials > External Credentials >  Choose Created External Credential > Actions(Principals) > Authenticate
     
  • Go through Notion integration permissions flow

 

HTTP SERVICE

This example returns a JSON about all pages on the Notion side

HttpRequest req = new HttpRequest();
        Http http = new Http();
        req.setEndpoint('callout:Named_Test_Cred/v1/search');
        req.setMethod('POST');
        req.setHeader('Notion-Version', '2022-06-28');
        req.setHeader('Content-Type', 'application/json');
        Map<String, Object> payload = new Map<String, Object>();
        Map<String, Object> filter = new Map<String, Object>();
        filter.put('value', 'page');
        filter.put('property', 'object');
        payload.put('filter', filter);
        req.setBody(JSON.serialize(payload));
        HttpResponse res = http.send(req);

This example creating a new database in Notion

String dbName = 'Example Name';
String notionPageId = 'yourExamolePageId';
HttpRequest req = new HttpRequest();
Http http = new Http();
req.setEndpoint('callout:Named_Test_Cred/v1/databases');
req.setMethod('POST');
 req.setHeader('Notion-Version', '2022-06-28');
 req.setHeader('Content-Type', 'application/json');
 Map<String, Object> payload = new Map<String, Object>();
 Map<String, Object> parent = new Map<String, Object>();
 parent.put('type', 'page_id');
 parent.put('page_id', notionPageId);
 payload.put('parent', parent);
 payload.put('title', new List<Map<String, Object>>{
 new Map<String, Object>{
          'type' => 'text',
          'text' => new Map<String, Object>{
            	'content' => dbName
          }
  	  }
   });
   payload.put('properties', new Map<String, Object>{
        'Name' => new Map<String, Object>{
          'title' => new Map<String, Object>()
        }
      });
 req.setBody(JSON.serialize(payload));
HttpResponse res = http.send(req);

 

Conclusion

Integrating Salesforce with Notion boosts operational efficiency by automating processes, centralizing data, and enhancing teamwork. This powerful combination enables informed decision-making and streamlined workflows, allowing businesses to remain competitive in a dynamic market.

Resources, used for the screens
 


Yuriy Rudenko
Salesforce developer
image
Expertise
Question to the expert
image

We have available resources to start working on your project within 5 business days

1 UX Designer

image

1 Admin

image

2 QA engineers

image

1 Consultant

image
Related Articles
All articles
image
How to Customize Salesforce Field Service Mobile for Your Technicians
Salesforce Field Service Mobile provides a standard technician experience that companies can extend to fit their own service processes. This article looks at areas where a custom mobile workflow can help: AI repair assistance, field documentation, external tools, back-office integrations, quotes and payments on site, barcode scanning and role-based mobile layouts. It also outlines four practical steps for planning a mobile workflow around the technician’s work.
21 October 2026
image
Salesforce Field Service Mobile: New Capabilities for Technicians
Salesforce Field Service Mobile continues to evolve with new capabilities for technicians working in the field. Explore how updates to job preparation, mobile forms, voice input, mapping, and Work Order views are changing the technician experience, and learn why configuring these capabilities around your service operations matters.
14 October 2026
image
Closing the Gap Between Field Service and Business Needs
Standard Salesforce Field Service configuration covers many service processes, but individual businesses can have different workflows, working conditions, scheduling rules, and operational requirements. This article looks at three areas where standard configuration can fall short: how technicians work, the conditions of field service operations, and business-specific processes. It also provides a practical checklist of signs that a Salesforce Field Service setup could benefit from customization.
07 October 2026