Back to Integrations
integrationFlagship node
HTTP Request
integrationSalesforce node

Flagship and Salesforce integration

Save yourself the work of writing custom integrations for Flagship and Salesforce and use n8n instead. Build adaptable and scalable Development, Sales, and Communication workflows that work with your technology stack. All within a building experience you will love.

How to connect Flagship and Salesforce

  • Step 1: Create a new workflow
  • Step 2: Add and configure nodes
  • Step 3: Connect
  • Step 4: Customize and extend your integration
  • Step 5: Test and activate your workflow

Step 1: Create a new workflow and add the first step

In n8n, click the "Add workflow" button in the Workflows tab to create a new workflow. Add the starting point – a trigger on when your workflow should run: an app event, a schedule, a webhook call, another workflow, an AI chat, or a manual trigger. Sometimes, the HTTP Request node might already serve as your starting point.

Flagship and Salesforce integration: Create a new workflow and add the first step

Step 2: Add and configure Salesforce and Flagship nodes (using the HTTP Request node)

You can find the Salesforce node in the nodes panel and drag it onto your workflow canvas. To add the Flagship app to the workflow select the HTTP Request node and use the generic authentication method to make custom API calls to Flagship. Configure Flagship and Salesforce one by one: input data on the left, parameters in the middle, and output data on the right.

Salesforce and Flagship integration: Add and configure Salesforce and Flagship nodes

Step 3: Connect Salesforce and Flagship

A connection establishes a link between Salesforce and Flagship (or vice versa) to route data through the workflow. Data flows from the output of one node to the input of another. You can have single or multiple connections for each node.

Salesforce and Flagship integration: Connect Salesforce and Flagship

Step 4: Customize and extend your Salesforce and Flagship integration

Use n8n's core nodes such as If, Split Out, Merge, and others to transform and manipulate data. Write custom JavaScript or Python in the Code node and run it as a step in your workflow. Connect Salesforce and Flagship with any of n8n’s 1000+ integrations, and incorporate advanced AI logic into your workflows.

Salesforce and Flagship integration: Customize and extend your Salesforce and Flagship integration

Step 5: Test and activate your Flagship and Salesforce workflow

Save and run the workflow to see if everything works as expected. Based on your configuration, data should flow from Flagship to Salesforce or vice versa. Easily debug your workflow: you can check past executions to isolate and fix the mistake. Once you've tested everything, make sure to save your workflow and activate it.

Salesforce and Flagship integration: Test and activate your Salesforce and Flagship workflow

Build your own Flagship and Salesforce integration

Create custom Flagship and Salesforce workflows by choosing triggers and actions. Nodes come with global operations and settings, as well as app-specific parameters that can be configured. You can also use the HTTP Request node to query data from any app or service with a REST API.

Supported API Endpoints for Flagship

To set up Flagship integration, add the HTTP Request node to your workflow canvas and authenticate it using a generic authentication method. The HTTP Request node makes custom API calls to Flagship to query the data you need using the API endpoint URLs you provide.

List resource
Retrieve all decision API entries.
GET
/api/v2/decision
Update resource
Update an existing entry in the decision API.
PUT
/api/v2/decision/{id}

These API endpoints were generated using n8n

n8n AI workflow transforms web scraping into an intelligent, AI-powered knowledge extraction system that uses vector embeddings to semantically analyze, chunk, store, and retrieve the most relevant API documentation from web pages. Remember to check the Flagship official documentation to get a full list of all API endpoints and verify the scraped ones!

Create campaign
This endpoint retrieves all the campaigns that correspond to the specified user and context attributes.
POST
/v2/<ENVIRONMENT_ID>/campaigns
Get campaign assignment
This endpoint retrieves the assignment of your visitor ID with a specific context to the specified campaign ID.
POST
/v2/<ENVIRONMENT_ID>/campaigns/<CAMPAIGN_ID>
Get campaigns of the account environment
Retrieves campaigns linked to the account environment.
GET
/reference/95de4e7d4ec4b9b27d2b553fef5c9158-1
Create a campaign
Creates a new campaign within the account environment.
POST
/reference/262164e9902986956d4f008ecc296d9c-1
Get one campaign
Fetches details of a specific campaign.
GET
/reference/fdfe1f898dc7962ec0681ec7b2c28039-1
Delete a campaign
Deletes a specific campaign from the account environment.
DELETE
/reference/1a331f011981919d31c616c73856b948-1
Update a campaign
Updates the attributes of a specified campaign.
PATCH
/reference/e3e6aaee25528da22b390f4af3c93482-1
Toggle campaign state
Toggle the state of a campaign.
PATCH
/reference/adf135160847c38ce9ecc8397f4945b2-1

These API endpoints were generated using n8n

n8n AI workflow transforms web scraping into an intelligent, AI-powered knowledge extraction system that uses vector embeddings to semantically analyze, chunk, store, and retrieve the most relevant API documentation from web pages. Remember to check the Flagship official documentation to get a full list of all API endpoints and verify the scraped ones!

Create flag assignment
This endpoint assigns a user to a variation for campaign targeting.
POST
/v2/<ENVIRONMENT_ID>/flags
Get flags
Retrieve all flags associated with the account.
GET
/reference/2d21ba23be976e0dcafc39818a41067c-1
Retrieve flags
Retrieves feature flags for the current visitor.
GET
/docs/retrieving-flags
Fetch flag
Fetch flag from the Flagship platform.
GET
/fetchFlags
Get flag value
Retrieves a flag named 'yourFlagKey'.
GET
/getFlag/yourFlagKey
Expose flag
Notifies Flagship that the visitor has been exposed to the flag.
POST
/exposeFlag
Get all flags
Retrieves all visitor's flags as a collection.
GET
/getFlags
List flags
Retrieves all visitor's flags.
GET
/api/v1/flags
Get flag
Retrieves a flag named 'yourFlagKey'.
GET
/api/v1/flags/yourFlagKey
Expose flag
Directly expose the flag to Flagship without reading the value.
POST
/api/v1/flags/yourFlagKey/expose
Expose all flags
Expose all of the flags in the collection.
POST
/api/v1/flags/exposeAll

These API endpoints were generated using n8n

n8n AI workflow transforms web scraping into an intelligent, AI-powered knowledge extraction system that uses vector embeddings to semantically analyze, chunk, store, and retrieve the most relevant API documentation from web pages. Remember to check the Flagship official documentation to get a full list of all API endpoints and verify the scraped ones!

Create activation
Activates a variation for a visitor in a specific environment.
POST
/v2/activate

These API endpoints were generated using n8n

n8n AI workflow transforms web scraping into an intelligent, AI-powered knowledge extraction system that uses vector embeddings to semantically analyze, chunk, store, and retrieve the most relevant API documentation from web pages. Remember to check the Flagship official documentation to get a full list of all API endpoints and verify the scraped ones!

Get projects of the account
Fetches a list of projects associated with the account.
GET
/reference/056fa0955173da757711663c5e0365ae-1
Create a project
Creates a new project in the account.
POST
/reference/9c2fa3f5eeb6b5de749560ab7a799fda-1
Get one project
Fetches details of a specific project.
GET
/reference/80bfd9b7a2cd0f116dd43fc4ed60dfd8-1
Delete a project
Deletes a specified project from the account.
DELETE
/reference/934311b13024cb0dd7eebfaf948a2d70-1
Update a project
Updates the properties of an existing project.
PATCH
/reference/d0e24fcfb70fc12f1385915850f2029e-1
Toggle project state
Toggles the state of an existing project.
PATCH
/reference/239988fe629da89b52a9fa7ffdd4d3a8-1

These API endpoints were generated using n8n

n8n AI workflow transforms web scraping into an intelligent, AI-powered knowledge extraction system that uses vector embeddings to semantically analyze, chunk, store, and retrieve the most relevant API documentation from web pages. Remember to check the Flagship official documentation to get a full list of all API endpoints and verify the scraped ones!

Get variations
Retrieve variations of a specified variation group.
GET
/reference/7bd5dfd478e6e9160083f6cc5a83c156-1
Create variation
Add a new variation to a specified variation group.
POST
/reference/f052ad34ef1e817660802140f0e9a8af-1
Delete variation
Deletes a variation by its identifier.
DELETE
/reference/b6a54e3f308a61a9786a4156a3d390ae-1
Update variation
Updates an existing variation.
PATCH
/reference/ce18e2b90f668a60cd211d5cbcde0abc-1
Get one variation
Retrieves a specific variation by its ID.
GET
/reference/79e6c992d1a75245647ee741a9c61fc6-1

These API endpoints were generated using n8n

n8n AI workflow transforms web scraping into an intelligent, AI-powered knowledge extraction system that uses vector embeddings to semantically analyze, chunk, store, and retrieve the most relevant API documentation from web pages. Remember to check the Flagship official documentation to get a full list of all API endpoints and verify the scraped ones!

Get users
Retrieve a list of users within the account environment.
GET
/reference/0aeb678fc30329a5b3f1c04d1d29520b-1
Update users
Update the details of users in the account environment.
PUT
/reference/2dcfe3b154f38137fc43551187695136-1

These API endpoints were generated using n8n

n8n AI workflow transforms web scraping into an intelligent, AI-powered knowledge extraction system that uses vector embeddings to semantically analyze, chunk, store, and retrieve the most relevant API documentation from web pages. Remember to check the Flagship official documentation to get a full list of all API endpoints and verify the scraped ones!

Get targeting keys
Retrieve a list of targeting keys associated with the account.
GET
/reference/fe893f1764b5194d312e572c51054f24-1

These API endpoints were generated using n8n

n8n AI workflow transforms web scraping into an intelligent, AI-powered knowledge extraction system that uses vector embeddings to semantically analyze, chunk, store, and retrieve the most relevant API documentation from web pages. Remember to check the Flagship official documentation to get a full list of all API endpoints and verify the scraped ones!

Get goals
Retrieve all goals associated with the account environment.
GET
/reference/d38adaab9d1304e9c95820489139ff64
Delete goal
Deletes a goal by its identifier.
DELETE
/reference/a5e50aa5cfe5a0ce7be4ad0075da1be3
Update goal
Updates an existing goal.
PATCH
/reference/4a2cc8b82898811874e71db0334d16db
Get one goal
Retrieves a single goal by its identifier.
GET
/reference/c9f10c3487c1d66d7d679609c9b32ad5
Create goal
Creates a new goal.
POST
/reference/3b7f536ce89b1910497e73ebd2fd941f

These API endpoints were generated using n8n

n8n AI workflow transforms web scraping into an intelligent, AI-powered knowledge extraction system that uses vector embeddings to semantically analyze, chunk, store, and retrieve the most relevant API documentation from web pages. Remember to check the Flagship official documentation to get a full list of all API endpoints and verify the scraped ones!

Generate token
Generate a new access token for the account.
POST
/{ACCOUNT_ID}/token?expires_in=0
Generate token with expiration
Generate a token with a specific expiration time.
POST
/{ACCOUNT_ID}/token?expires_in=1800
Validate token
Check if an access token is valid.
GET
/token?access_token={ACCESS_TOKEN}

These API endpoints were generated using n8n

n8n AI workflow transforms web scraping into an intelligent, AI-powered knowledge extraction system that uses vector embeddings to semantically analyze, chunk, store, and retrieve the most relevant API documentation from web pages. Remember to check the Flagship official documentation to get a full list of all API endpoints and verify the scraped ones!

Create visitor
Creates a new visitor in the system.
POST
/docs/creating-a-visitor
Manage visitor consent
Manages the consent settings for a visitor.
PUT
/docs/managing-visitor-consent
Update visitor context
Updates the context information of an existing visitor.
PATCH
/docs/updating-the-visitor-context

These API endpoints were generated using n8n

n8n AI workflow transforms web scraping into an intelligent, AI-powered knowledge extraction system that uses vector embeddings to semantically analyze, chunk, store, and retrieve the most relevant API documentation from web pages. Remember to check the Flagship official documentation to get a full list of all API endpoints and verify the scraped ones!

Track data
Tracks specific data points related to a visitor's activity.
POST
/docs/tracking-data

These API endpoints were generated using n8n

n8n AI workflow transforms web scraping into an intelligent, AI-powered knowledge extraction system that uses vector embeddings to semantically analyze, chunk, store, and retrieve the most relevant API documentation from web pages. Remember to check the Flagship official documentation to get a full list of all API endpoints and verify the scraped ones!

Get variation groups
Retrieve the variation groups of the campaign.
GET
/reference/e9c0ded78aab979d89652b07320a017c-1
Update variation group
Updates an existing variation group.
PATCH
/reference/9c67aceba6ba933d79a04e6306a6a960-1
Delete variation group
Deletes a variation group.
DELETE
/reference/57f1560a170dc1735d4d63b609402935-1
Get one variation group
Retrieves a single variation group by ID.
GET
/reference/790dd2784584937896abb8904e11dc48-1
Create variation group
Creates a new variation group.
POST
/reference/0c0e2dfd24f4aa121fe04561393a3f46-1

These API endpoints were generated using n8n

n8n AI workflow transforms web scraping into an intelligent, AI-powered knowledge extraction system that uses vector embeddings to semantically analyze, chunk, store, and retrieve the most relevant API documentation from web pages. Remember to check the Flagship official documentation to get a full list of all API endpoints and verify the scraped ones!

Salesforce supported actions

Add Note
Add note to an account
Create
Create an account
Create or Update
Create a new account, or update the current one if it already exists (upsert)
Delete
Delete an account
Get
Get an account
Get Many
Get many accounts
Get Summary
Returns an overview of account's metadata
Update
Update an account
Create
Create a attachment
Delete
Delete a attachment
Get
Get a attachment
Get Many
Get many attachments
Get Summary
Returns an overview of attachment's metadata
Update
Update a attachment
Add Comment
Add a comment to a case
Create
Create a case
Delete
Delete a case
Get
Get a case
Get Many
Get many cases
Get Summary
Returns an overview of case's metadata
Update
Update a case
Add Contact To Campaign
Add contact to a campaign
Add Note
Add note to a contact
Create
Create a contact
Create or Update
Create a new contact, or update the current one if it already exists (upsert)
Delete
Delete a contact
Get
Get a contact
Get Many
Get many contacts
Get Summary
Returns an overview of contact's metadata
Update
Update a contact
Create
Create a custom object record
Create or Update
Create a new record, or update the current one if it already exists (upsert)
Delete
Delete a custom object record
Get
Get a custom object record
Get Many
Get many custom object records
Update
Update a custom object record
Upload
Upload a document
Get Many
Get many flows
Invoke
Invoke a flow
Add Lead To Campaign
Add lead to a campaign
Add Note
Add note to a lead
Create
Create a lead
Create or Update
Create a new lead, or update the current one if it already exists (upsert)
Delete
Delete a lead
Get
Get a lead
Get Many
Get many leads
Get Summary
Returns an overview of Lead's metadata
Update
Update a lead
Add Note
Add note to an opportunity
Create
Create an opportunity
Create or Update
Create a new opportunity, or update the current one if it already exists (upsert)
Delete
Delete an opportunity
Get
Get an opportunity
Get Many
Get many opportunities
Get Summary
Returns an overview of opportunity's metadata
Update
Update an opportunity
Query
Execute a SOQL query that returns all the results in a single response
Create
Create a task
Delete
Delete a task
Get
Get a task
Get Many
Get many tasks
Get Summary
Returns an overview of task's metadata
Update
Update a task
Get
Get a user
Get Many
Get many users

Flagship and Salesforce integration details

Use case

Save engineering resources

Reduce time spent on customer integrations, engineer faster POCs, keep your customer-specific functionality separate from product all without having to code.

Learn more
Use case

Supercharge your CRM

Need a more powerful integration with your CRM? n8n lets you go beyond standard integrations offered by popular CRMs!

Learn more

FAQs

  • Can Flagship connect with Salesforce?

  • Can I use Flagship’s API with n8n?

  • Can I use Salesforce’s API with n8n?

  • Is n8n secure for integrating Flagship and Salesforce?

  • How to get started with Flagship and Salesforce integration in n8n.io?

Looking to integrate Flagship and Salesforce in your company?

Over 3000 companies switch to n8n every single week

Why use n8n to integrate Flagship with Salesforce

Build complex workflows, really fast

Build complex workflows, really fast

Handle branching, merging and iteration easily.
Pause your workflow to wait for external events.

Code when you need it, UI when you don't

Simple debugging

Your data is displayed alongside your settings, making edge cases easy to track down.

Use templates to get started fast

Use 1000+ workflow templates available from our core team and our community.

Reuse your work

Copy and paste, easily import and export workflows.

Implement complex processes faster with n8n

red iconyellow iconred iconyellow icon