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.
Create custom Flagship and Mews 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.
List resource
Retrieve all decision API entries.
Update resource
Update an existing entry in the decision API.
Create campaign
This endpoint retrieves all the campaigns that correspond to the specified user and context attributes.
Get campaign assignment
This endpoint retrieves the assignment of your visitor ID with a specific context to the specified campaign ID.
Get campaigns of the account environment
Retrieves campaigns linked to the account environment.
Create a campaign
Creates a new campaign within the account environment.
Get one campaign
Fetches details of a specific campaign.
Delete a campaign
Deletes a specific campaign from the account environment.
Update a campaign
Updates the attributes of a specified campaign.
Toggle campaign state
Toggle the state of a campaign.
Create flag assignment
This endpoint assigns a user to a variation for campaign targeting.
Get flags
Retrieve all flags associated with the account.
Retrieve flags
Retrieves feature flags for the current visitor.
Fetch flag
Fetch flag from the Flagship platform.
Get flag value
Retrieves a flag named 'yourFlagKey'.
Expose flag
Notifies Flagship that the visitor has been exposed to the flag.
Get all flags
Retrieves all visitor's flags as a collection.
List flags
Retrieves all visitor's flags.
Get flag
Retrieves a flag named 'yourFlagKey'.
Expose flag
Directly expose the flag to Flagship without reading the value.
Expose all flags
Expose all of the flags in the collection.
Create activation
Activates a variation for a visitor in a specific environment.
Get projects of the account
Fetches a list of projects associated with the account.
Create a project
Creates a new project in the account.
Get one project
Fetches details of a specific project.
Delete a project
Deletes a specified project from the account.
Update a project
Updates the properties of an existing project.
Toggle project state
Toggles the state of an existing project.
Get variations
Retrieve variations of a specified variation group.
Create variation
Add a new variation to a specified variation group.
Delete variation
Deletes a variation by its identifier.
Update variation
Updates an existing variation.
Get one variation
Retrieves a specific variation by its ID.
Get users
Retrieve a list of users within the account environment.
Update users
Update the details of users in the account environment.
Get targeting keys
Retrieve a list of targeting keys associated with the account.
Get goals
Retrieve all goals associated with the account environment.
Delete goal
Deletes a goal by its identifier.
Update goal
Updates an existing goal.
Get one goal
Retrieves a single goal by its identifier.
Create goal
Creates a new goal.
Generate token
Generate a new access token for the account.
Generate token with expiration
Generate a token with a specific expiration time.
Validate token
Check if an access token is valid.
Create visitor
Creates a new visitor in the system.
Manage visitor consent
Manages the consent settings for a visitor.
Update visitor context
Updates the context information of an existing visitor.
Track data
Tracks specific data points related to a visitor's activity.
Get variation groups
Retrieve the variation groups of the campaign.
Update variation group
Updates an existing variation group.
Delete variation group
Deletes a variation group.
Get one variation group
Retrieves a single variation group by ID.
Create variation group
Creates a new variation group.
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.
See the example hereThese 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!
List accounts
Retrieve a list of accounts.
List customers
Retrieve a list of customers.
List orders
Retrieve a list of orders.
Update bill
Update details of a specific bill.
List bills
Retrieve a list of bills.
Create payment
Process a new payment.
List payments
Retrieve a list of payments.
List outlet items
Retrieve a list of outlet items.
List outlets
Retrieve a list of outlets.
List payment requests
Retrieve a list of payment requests.
List preauthorizations
Retrieve a list of preauthorizations.
List product categories
Retrieve a list of product categories.
List product service orders
Retrieve a list of product service orders.
List products
Retrieve a list of products.
List rates
Retrieve a list of rates.
List rate groups
Retrieve a list of rate groups.
List business segments
Retrieve a list of business segments.
List reservations
Retrieve a list of reservations.
Process group
Process a group of reservations, which can be new bookings, modifications or cancellations.
Confirm reservations group synchronization
Confirms reservations group synchronization was processed successfully or with errors.
List reservation groups
Retrieve a list of reservation groups.
List resource access tokens
Retrieve a list of resource access tokens.
List resource blocks
Retrieve a list of resource blocks.
List resources
Retrieve a list of resources.
List common objects
Retrieve a list of common objects.
List accounting categories
Retrieve a list of accounting categories.
List accounting items
Retrieve a list of accounting items.
List account notes
Retrieve a list of account notes.
List addresses
Retrieve a list of addresses.
List age categories
Retrieve a list of age categories.
List availability adjustments
Retrieve a list of availability adjustments.
List availability blocks
Retrieve a list of availability blocks.
List cancellation policies
Retrieve a list of cancellation policies.
List cashiers
Retrieve a list of cashiers.
List cashier transactions
Retrieve a list of cashier transactions.
List commands
Retrieve a list of commands.
Get configuration
Returns the configuration details for a test hotel.
Get properties
Get the list of available properties and their connection details
Get configuration
Get the configuration of the given property connection
Get channels
Get the list of all channels with assigned mapping codes
Set inventory
Update the 'rate plan - space type' inventory mapping
Request ARI update
Request an ARI data update for certain space types and rate plans (ARI is Availability, Rates and Inventory)
Confirm availability update
Confirms availability update was processed successfully or with errors.
Confirm price update
Confirms price update was processed successfully or with errors.
Confirm restriction update
Confirms restriction update was processed successfully or with errors.
Confirm availability block synchronization
Confirms availability block synchronization was processed successfully or with errors.
To set up Mews 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 Mews to query the data you need using the API endpoint URLs you provide.
See the example hereThese 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 Mews official documentation to get a full list of all API endpoints and verify the scraped ones!
Flagship is a platform for feature flagging that reduces the potential risks associated with launching new features. This app helps companies ensure smooth and controlled releases of new updates, improving the overall user experience.
The world's most popular workflow automation platform for technical teams including
Build complex workflows, really fast