See llms.txt for all machine-readable content.
Save yourself the work of writing custom integrations for Flagship and Mews and use n8n instead. Build adaptable and scalable Development, workflows that work with your technology stack. All within a building experience you will love.


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.
| GET | List resource | Retrieve all decision API entries. /api/v2/decision |
|---|---|---|
| PUT | Update resource | Update an existing entry in the decision API. /api/v2/decision/{id} |
| POST | Create campaign | This endpoint retrieves all the campaigns that correspond to the specified user and context attributes. /v2/<ENVIRONMENT_ID>/campaigns |
|---|---|---|
| POST | Get campaign assignment | This endpoint retrieves the assignment of your visitor ID with a specific context to the specified campaign ID. /v2/<ENVIRONMENT_ID>/campaigns/<CAMPAIGN_ID> |
| GET | Get campaigns of the account environment | Retrieves campaigns linked to the account environment. /reference/95de4e7d4ec4b9b27d2b553fef5c9158-1 |
| POST | Create a campaign | Creates a new campaign within the account environment. /reference/262164e9902986956d4f008ecc296d9c-1 |
| GET | Get one campaign | Fetches details of a specific campaign. /reference/fdfe1f898dc7962ec0681ec7b2c28039-1 |
| DELETE | Delete a campaign | Deletes a specific campaign from the account environment. /reference/1a331f011981919d31c616c73856b948-1 |
| PATCH | Update a campaign | Updates the attributes of a specified campaign. /reference/e3e6aaee25528da22b390f4af3c93482-1 |
| PATCH | Toggle campaign state | Toggle the state of a campaign. /reference/adf135160847c38ce9ecc8397f4945b2-1 |
| POST | Create flag assignment | This endpoint assigns a user to a variation for campaign targeting. /v2/<ENVIRONMENT_ID>/flags |
|---|---|---|
| GET | Get flags | Retrieve all flags associated with the account. /reference/2d21ba23be976e0dcafc39818a41067c-1 |
| GET | Retrieve flags | Retrieves feature flags for the current visitor. /docs/retrieving-flags |
| GET | Fetch flag | Fetch flag from the Flagship platform. /fetchFlags |
| GET | Get flag value | Retrieves a flag named 'yourFlagKey'. /getFlag/yourFlagKey |
| POST | Expose flag | Notifies Flagship that the visitor has been exposed to the flag. /exposeFlag |
| GET | Get all flags | Retrieves all visitor's flags as a collection. /getFlags |
| GET | List flags | Retrieves all visitor's flags. /api/v1/flags |
| GET | Get flag | Retrieves a flag named 'yourFlagKey'. /api/v1/flags/yourFlagKey |
| POST | Expose flag | Directly expose the flag to Flagship without reading the value. /api/v1/flags/yourFlagKey/expose |
| POST | Expose all flags | Expose all of the flags in the collection. /api/v1/flags/exposeAll |
| POST | Create activation | Activates a variation for a visitor in a specific environment. /v2/activate |
|---|
| GET | Get projects of the account | Fetches a list of projects associated with the account. /reference/056fa0955173da757711663c5e0365ae-1 |
|---|---|---|
| POST | Create a project | Creates a new project in the account. /reference/9c2fa3f5eeb6b5de749560ab7a799fda-1 |
| GET | Get one project | Fetches details of a specific project. /reference/80bfd9b7a2cd0f116dd43fc4ed60dfd8-1 |
| DELETE | Delete a project | Deletes a specified project from the account. /reference/934311b13024cb0dd7eebfaf948a2d70-1 |
| PATCH | Update a project | Updates the properties of an existing project. /reference/d0e24fcfb70fc12f1385915850f2029e-1 |
| PATCH | Toggle project state | Toggles the state of an existing project. /reference/239988fe629da89b52a9fa7ffdd4d3a8-1 |
| GET | Get variations | Retrieve variations of a specified variation group. /reference/7bd5dfd478e6e9160083f6cc5a83c156-1 |
|---|---|---|
| POST | Create variation | Add a new variation to a specified variation group. /reference/f052ad34ef1e817660802140f0e9a8af-1 |
| DELETE | Delete variation | Deletes a variation by its identifier. /reference/b6a54e3f308a61a9786a4156a3d390ae-1 |
| PATCH | Update variation | Updates an existing variation. /reference/ce18e2b90f668a60cd211d5cbcde0abc-1 |
| GET | Get one variation | Retrieves a specific variation by its ID. /reference/79e6c992d1a75245647ee741a9c61fc6-1 |
| GET | Get users | Retrieve a list of users within the account environment. /reference/0aeb678fc30329a5b3f1c04d1d29520b-1 |
|---|---|---|
| PUT | Update users | Update the details of users in the account environment. /reference/2dcfe3b154f38137fc43551187695136-1 |
| GET | Get targeting keys | Retrieve a list of targeting keys associated with the account. /reference/fe893f1764b5194d312e572c51054f24-1 |
|---|
| GET | Get goals | Retrieve all goals associated with the account environment. /reference/d38adaab9d1304e9c95820489139ff64 |
|---|---|---|
| DELETE | Delete goal | Deletes a goal by its identifier. /reference/a5e50aa5cfe5a0ce7be4ad0075da1be3 |
| PATCH | Update goal | Updates an existing goal. /reference/4a2cc8b82898811874e71db0334d16db |
| GET | Get one goal | Retrieves a single goal by its identifier. /reference/c9f10c3487c1d66d7d679609c9b32ad5 |
| POST | Create goal | Creates a new goal. /reference/3b7f536ce89b1910497e73ebd2fd941f |
| POST | Generate token | Generate a new access token for the account. /{ACCOUNT_ID}/token?expires_in=0 |
|---|---|---|
| POST | Generate token with expiration | Generate a token with a specific expiration time. /{ACCOUNT_ID}/token?expires_in=1800 |
| GET | Validate token | Check if an access token is valid. /token?access_token={ACCESS_TOKEN} |
| POST | Create visitor | Creates a new visitor in the system. /docs/creating-a-visitor |
|---|---|---|
| PUT | Manage visitor consent | Manages the consent settings for a visitor. /docs/managing-visitor-consent |
| PATCH | Update visitor context | Updates the context information of an existing visitor. /docs/updating-the-visitor-context |
| POST | Track data | Tracks specific data points related to a visitor's activity. /docs/tracking-data |
|---|
| GET | Get variation groups | Retrieve the variation groups of the campaign. /reference/e9c0ded78aab979d89652b07320a017c-1 |
|---|---|---|
| PATCH | Update variation group | Updates an existing variation group. /reference/9c67aceba6ba933d79a04e6306a6a960-1 |
| DELETE | Delete variation group | Deletes a variation group. /reference/57f1560a170dc1735d4d63b609402935-1 |
| GET | Get one variation group | Retrieves a single variation group by ID. /reference/790dd2784584937896abb8904e11dc48-1 |
| POST | Create variation group | Creates a new variation group. /reference/0c0e2dfd24f4aa121fe04561393a3f46-1 |
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.
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 | List accounts | Retrieve a list of accounts. /connector-api/operations/accounts |
|---|
| GET | List customers | Retrieve a list of customers. /connector-api/operations/customers |
|---|
| GET | List orders | Retrieve a list of orders. /connector-api/operations/orders |
|---|
| PUT | Update bill | Update details of a specific bill. /connector-api/operations/bills |
|---|---|---|
| GET | List bills | Retrieve a list of bills. /connector-api/operations/bills |
| POST | Create payment | Process a new payment. /connector-api/operations/payments |
|---|---|---|
| GET | List payments | Retrieve a list of payments. /connector-api/operations/payments |
| GET | List outlet items | Retrieve a list of outlet items. /connector-api/operations/outletitems |
|---|
| GET | List outlets | Retrieve a list of outlets. /connector-api/operations/outlets |
|---|
| GET | List payment requests | Retrieve a list of payment requests. /connector-api/operations/paymentrequests |
|---|
| GET | List preauthorizations | Retrieve a list of preauthorizations. /connector-api/operations/preauthorizations |
|---|
| GET | List product categories | Retrieve a list of product categories. /connector-api/operations/productcategories |
|---|
| GET | List product service orders | Retrieve a list of product service orders. /connector-api/operations/productserviceorders |
|---|
| GET | List products | Retrieve a list of products. /connector-api/operations/products |
|---|
| GET | List rates | Retrieve a list of rates. /connector-api/operations/rates |
|---|
| GET | List rate groups | Retrieve a list of rate groups. /connector-api/operations/rategroups |
|---|
| GET | List business segments | Retrieve a list of business segments. /connector-api/operations/businesssegments |
|---|
| GET | List reservations | Retrieve a list of reservations. /connector-api/operations/reservations |
|---|---|---|
| POST | Process group | Process a group of reservations, which can be new bookings, modifications or cancellations. /channel-manager-api/mews-operations/operations/reservations#process-group |
| POST | Confirm reservations group synchronization | Confirms reservations group synchronization was processed successfully or with errors. /channel-manager-api/mews-operations/operations/reservations#confirm-group-confirmation |
| GET | List reservation groups | Retrieve a list of reservation groups. /connector-api/operations/reservationgroups |
|---|
| GET | List resource access tokens | Retrieve a list of resource access tokens. /connector-api/operations/resourceaccesstokens |
|---|
| GET | List resource blocks | Retrieve a list of resource blocks. /connector-api/operations/resourceblocks |
|---|
| GET | List resources | Retrieve a list of resources. /connector-api/operations/resources |
|---|
| GET | List common objects | Retrieve a list of common objects. /connector-api/operations/_objects |
|---|
| GET | List accounting categories | Retrieve a list of accounting categories. /connector-api/operations/accountingcategories |
|---|
| GET | List accounting items | Retrieve a list of accounting items. /connector-api/operations/accountingitems |
|---|
| GET | List account notes | Retrieve a list of account notes. /connector-api/operations/accountnotes |
|---|
| GET | List addresses | Retrieve a list of addresses. /connector-api/operations/addresses |
|---|
| GET | List age categories | Retrieve a list of age categories. /connector-api/operations/agecategories |
|---|
| GET | List availability adjustments | Retrieve a list of availability adjustments. /connector-api/operations/availabilityadjustments |
|---|
| GET | List availability blocks | Retrieve a list of availability blocks. /connector-api/operations/availabilityblocks |
|---|
| GET | List cancellation policies | Retrieve a list of cancellation policies. /connector-api/operations/cancellationpolicies |
|---|
| GET | List cashiers | Retrieve a list of cashiers. /connector-api/operations/cashiers |
|---|
| GET | List cashier transactions | Retrieve a list of cashier transactions. /connector-api/operations/cashiertransactions |
|---|
| GET | List commands | Retrieve a list of commands. /connector-api/operations/commands |
|---|
| POST | Get configuration | Returns the configuration details for a test hotel. /api/connector/v1/configuration/get |
|---|---|---|
| GET | Get properties | Get the list of available properties and their connection details /channel-manager-api/mews-operations/operations/configuration#get-properties |
| GET | Get configuration | Get the configuration of the given property connection /channel-manager-api/mews-operations/operations/configuration#get-configuration |
| GET | Get channels | Get the list of all channels with assigned mapping codes /channel-manager-api/mews-operations/operations/configuration#get-channels |
| PUT | Set inventory | Update the 'rate plan - space type' inventory mapping /channel-manager-api/mews-operations/operations/inventory#set-inventory |
|---|---|---|
| POST | Request ARI update | Request an ARI data update for certain space types and rate plans (ARI is Availability, Rates and Inventory) /channel-manager-api/mews-operations/operations/inventory#request-ari-update |
| POST | Confirm availability update | Confirms availability update was processed successfully or with errors. /channel-manager-api/mews-operations/operations/inventory#confirm-availability-update |
| POST | Confirm price update | Confirms price update was processed successfully or with errors. /channel-manager-api/mews-operations/operations/inventory#confirm-price-update |
| POST | Confirm restriction update | Confirms restriction update was processed successfully or with errors. /channel-manager-api/mews-operations/operations/inventory##confirm-reistriction-update |
| POST | Confirm availability block synchronization | Confirms availability block synchronization was processed successfully or with errors. /channel-manager-api/mews-operations/operations/availabilityblock##confirm-availability-block-confirmation |
|---|
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.
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 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.

Mews is a property management system that streamlines and automates all hotel operations, from booking to check-out, front desk to revenue management, fostering a simpler, faster, and more interconnected experience for both hoteliers and guests.
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.
Yes, Flagship can connect with Mews using n8n.io. With n8n, you can create workflows that automate tasks and transfer data between Flagship and Mews. Configure nodes for Flagship and Mews in the n8n interface, specifying actions and triggers to set up their connection.
Yes, with n8n, you can programmatically interact with Flagship’s API via pre-defined supported actions or raw HTTP requests. With the HTTP Request node, you create a REST API call. You need to understand basic API terminology and concepts.
Yes, with n8n, you can programmatically interact with Mews’s API via pre-defined supported actions or raw HTTP requests. With the HTTP Request node, you create a REST API call. You need to understand basic API terminology and concepts.
Yes, it is safe to use n8n to integrate Flagship and Mews. n8n offers various features to ensure the safe handling of your data. These include encrypted data transfers, secure credential storage, RBAC functionality, and compliance with industry-standard security practices (SOC2 compliant). For hosted plans, data is stored within the EU on servers located in Frankfurt, Germany. You can also host it on your own infrastructure for added control.
Learn more about n8n’s security practices here.
To start integrating Flagship and Mews in n8n, you have different options depending on how you intend to use it:
Unlike other platforms that charge per operation, step, or task, n8n charges only for full workflow executions. This approach guarantees predictable costs and scalability, no matter the complexity or volume of your workflows.

Handle branching, merging and iteration easily. Pause your workflow to wait for external events.
Re-run single steps to test changes in no time. And pin your data to avoid generating trigger events every time you execute.
Your data is displayed alongside your settings, making edge cases easy to track down.
Use 1000+ workflow templates available from our core team and our community.
Copy and paste, easily import and export workflows.
n8n makes complex workflows easy to build, and versatile enough for me to add my own 'secret sauce.'

I have found the holy grail of automation.

n8n’s integration with third-party services is absolutely mind-blowing. It’s like a Swiss army knife for automation.
n8n is the tool that turns 'I have an idea' into 'it's running in production' faster than anything else.

Anything is possible with n8n. I think the cloud version is great, they are doing amazing stuff.
n8n’s integration with third-party services is absolutely mind-blowing. It’s like a Swiss army knife for automation.

Thank you to the n8n community. I did the beginners course and promptly took an automation WAY beyond my skill level.
I love the flexibility of n8n and how it lets different applications work together in a single workflow.
n8n is the glue that holds many of our systems together.
I can move fast, go deep when things get complex, and never feel boxed in.
