Baremetrics and Keen Integration

Demonstration of how apps are integrated in WEXTL workflow builder[4]

Keep Baremetrics and Keen matched by integrating their events and actions. When analytics events happen in Baremetrics, update the Keen automatically - without any line of code in visual workflow builder.

  • 3-day trial
  • Cancel anytime
  • Up to 10 minutes quick set up
  • GDPR
  • Data Encryption
  • 2FA
  • Local Data Region

Learn about Baremetrics and Keen

Detailed info you need to know about Baremetrics and Keen integrations in WEXTL. Explore which modules apps support and how you connect them.

  • Baremetrics

    • Analytics
    • 2 triggers
    • 35 searches
    • 30 actions

    Subscription analytics and revenue metrics.[5]

  • Keen

    • Analytics
    • 1 trigger
    • 29 searches
    • 20 actions

    Event analytics API for recording, querying and extracting product data.[6]

How to connect Baremetrics to Keen

Set up your Baremetrics and Keen integration in 3 simple steps[2]. No coding required. Up to 10 minutes setup.

How does the integration between Baremetrics and Keen work in WEXTL?

WEXTL exposes actions and triggers for Baremetrics and Keen that help you connect apps and automate repetitive tasks[1]. A trigger is an event that happens, and an action is a step that performs when the event has occurred.

Baremetrics triggersKeen actions

Baremetrics modules

  • Cancel a Subscription Ends a subscription on the Canceled At date. Only subscriptions added through the Baremetrics API can be cancelled.
  • Create a Cancellation Insight Records why a customer cancelled by linking a Reason to a Customer and their Subscriptions. Add a Comment to keep the context in words.
  • Create a Cancellation Reason Adds an option to the list of cancellation reasons, worded with Text. Use Sort Key to set where it sits among the others.
  • Create a Charge Records a charge against a customer, with its Amount in cents, Currency and Fee. Set Status to paid or failed.
  • Create a Customer Adds a customer record to a source under an ID of your own. Fill Name, Email and Notes to describe them, and use Created to backdate when they joined.
  • Create a Goal Sets a target for one Metric between a Start Date and an End Date, moving from the Start Amount to the End Amount in cents.
  • Create a Plan Creates a plan in a source from its Name, Currency, Amount in cents, Interval and Interval Count. Add a Trial Duration to set how long the trial runs.
  • Create a Refund Records a refund of a given Amount against one charge for a customer in a source.
  • Create a Segment Saves a customer segment made of Query rows, each with a Category, Field, Method and Value. Add a Name to recognise it later.
  • Create a Subscription Begins a subscription for a customer on a plan from the Started At date. Set Quantity and Discount, or list Add-Ons with their own Amount. Use Canceled At only when you are certain, since it cannot be changed afterwards.
  • Create an Annotation Pins a note to a metric graph for one Date. Turn on Global to show it on all graphs, and use User to credit its author.
  • Create an Attribute Field Defines a custom customer field with a Title and a Field Type such as string, integer, date, boolean or array. Fill it afterwards with Set Customer Attributes.
  • Delete a Cancellation Reason Deletes an entry from the list of cancellation reasons.
  • Delete a Charge Removes a charge that was created through the API.
  • Delete a Customer Deletes a customer created through the Baremetrics API.
  • Delete a Goal Deletes a goal that tracks a metric.
  • Delete a Plan Removes a plan that exists because it was added through the API.
  • Delete a Refund Removes a refund that was recorded through the API.
  • Delete a Segment Deletes a saved customer segment from your account.
  • Delete a Subscription Removes a subscription record added through the API.
  • Delete an Annotation Removes a note from a metric graph.
  • Get a Cancellation Insight Fetches one recorded cancellation insight with its reason and comment.
  • Get a Cancellation Reason Loads a single entry of the cancellation reason list, showing its wording and sort position.
  • Get a Charge Retrieves a charge from a source, including its amount, currency and fee.
  • Get a Customer Looks up one customer by ID in a source and gives you the Customer record with its details.
  • Get a Goal Pulls one goal, with the metric it tracks and its start and end values.
  • Get a Metric Opens one metric over a date range, such as mrr or arr. Use Compare To to choose how many days back the comparison reaches.
  • Get a Metric by Plan Splits one metric across your plans for a date range.
  • Get a Metrics Summary Gets every metric for a date range in a single request.
  • Get a Plan Displays one plan, showing its billing interval, trial length and amounts.
  • Get a Refund Finds the refund by ID and returns the charge it belongs to and the amount handed back.
  • Get a Segment Opens one saved segment with its filter rows.
  • Get a Subscription Checks a subscription by its ID and returns the plan, quantity and start date.
  • Get a User Returns one user of your Baremetrics account with their Email, Name and Admin flag.
  • Get an Annotation Shows one note pinned to a metric graph, with its metric, date and author.
  • Get an Event Gets one event of a source by ID. Events in a source carry an Event Type and a Timestamp.
  • Get Cohorts Reads cohort retention data with the Mrr and Customers of each cohort. Use Limit to cut the number of cohorts read.
  • Get the Account Returns the Baremetrics account behind the connected key.
  • List Annotations Shows the notes pinned to metric graphs. Use Limit to cap the notes read, 200 per request.
  • List Attribute Fields Retrieves the custom customer fields you defined, each with its Title and Field Type. Use the Id with Set Customer Attributes.
  • List Cancellation Insights Finds the recorded cancellation insights with their Reason, Comment and Customer. Use Limit to cap the rows read.
  • List Cancellation Reasons Lists every cancellation reason with its Text and Sort Key, up to the Limit.
  • List Charges Pulls the charges recorded in a source. Narrow them with Start and End dates, a Subscription or a Customer, and read as many as the Limit allows.
  • List Customer Events Walks through the events of one customer in a source, each with its Event Type and Timestamp, up to the Limit.
  • List Customers Lists customers found in a source. Use Search to match an ID, email, notes or name, and Sort with Order to rank them by creation date or Ltv.
  • List Customers Behind a Metric Lists the customers that make up one metric over a date range, such as Cancellations or Upgrades.
  • List Events Gets the events of a source with their Event Type and Timestamp. Turn on Live Stream to only get events that show up in the live stream, and set Start and End to bound the period.
  • List Goals Returns the goals on your account with their Start Amount, End Amount and dates.
  • List Plans Reads the plans defined in a source with their Interval, Trial Duration and Amounts. Use Search to look a plan up by name or ID.
  • List Refunds Lists refunds recorded in a source between a Start and an End date, each with its Charge Oid and Amount.

Keen modules

  • Create a Cached Dataset Defines a cached dataset with a Name, a Display Name, a Query and index properties. Keen precomputes it on a schedule, and the dataset cannot be updated, only recreated.
  • Create a Project Adds a project to your organization from a Name, with an optional list of existing Users and a Preferences object.
  • Create a Saved Query Stores a Query under a Name for later runs. A Refresh Rate (Hours) from 4 to 48 makes it a cached query that Keen reruns on that schedule, and 0 keeps it plain.
  • Create an Access Key Makes a scoped key that is limited to a chosen list of actions and can carry automatic query filters. The new key is shown once in the result, so store it right away.
  • Delete a Cached Dataset Removes a cached dataset together with the results Keen precomputed for it.
  • Delete a Project Deletes a project from your organization after Confirm is switched to Yes. Keen documents project deletion as a hard delete.
  • Delete a Saved Query Removes one saved query definition from the project.
  • Delete an Access Key Deletes an access key, so applications that still use it stop working.
  • Delete an Event Collection Deletes a whole event collection with every event in it, once Confirm is Yes. Keen performs a hard delete.
  • Delete an Event Property Removes one property from a collection and from all its stored events, once Confirm is Yes. This is a hard delete.
  • Delete Events Deletes events that match a Timeframe, Filters or both, once Confirm is Yes. The module stops when neither is given, so it never wipes a whole collection by accident.
  • Get a Cached Dataset Reads the definition of a cached dataset, with its query and index properties. Check Status in the result to see whether Keen has finished computing it.
  • Get a Project Loads one project of your organization with its Users and Preferences, using the Organization Key from the credential. The API Keys in the result are hidden in the log.
  • Get a Saved Query Loads the query stored under a saved name together with its Refresh Rate. Get Saved Query Results runs it.
  • Get an Access Key Shows a scoped key with its Name, whether it Is Active, its Permitted actions and its Options.
  • Get an Event Collection Reads the schema of one event collection, listing each Property with the type Keen inferred.
  • Get an Event Property Fetches the Type that Keen inferred for a single property of a collection.
  • Get Cached Dataset Results Fetches precomputed rows of a cached dataset for one Index By value over a Timeframe. Turn on Zero Fill to get empty intervals as zeros.
  • Get Project Resources Shows the resource links of your project, such as the events and queries URLs. It also confirms the Project ID and Master Key work.
  • Get Saved Query Results Fetches the current result of a saved query, or the latest cached result when the query refreshes on a schedule.
  • List Access Keys Pages through access keys, with the Permitted actions of each. Set Name to keep only keys with that name.
  • List API Versions Lists the API versions that Keen exposes, each with its URL, its version number and an Is Public flag.
  • List Available Queries Gathers the query resources that the project exposes, one link per analysis type.
  • List Cached Datasets Retrieves cached datasets, following the next page cursor from Keen until the Limit is reached.
  • List Event Collections Shows every event collection of the project, up to 5000. Set Include Schema to No to drop the Properties from each row.
  • List Projects Pulls every project in the organization along with Users and Preferences, masking each API Keys block in the log.
  • List Saved Queries Browses every saved query definition, listing its Query, Refresh Rate and dates.
  • Make an API Call Sends a free-form request to the Keen REST API, signed with your saved credential.
  • Record an Event Stores one event in a collection and creates the collection on first use. Fill Uniqueness Token so that sending the same event again stores it once.
  • Record Multiple Events Stores events for several collections in one request, taken from a JSON object that maps collection names to event arrays. A failed event stops the module with an error, and every event gets its own result row.
  • Revoke an Access Key Switches an access key off. Unrevoke an Access Key turns it back on later.
  • Run a Count Counts the events in a Timeframe for one collection. Add Group By or Interval to split the count into groups or time buckets, and Filters to narrow what counts.
  • Run a Count Unique Counts distinct values of a Target Property across a collection in a Timeframe, such as unique users.
  • Run a Funnel Measures how many actors reach each step of a sequence, defined by Steps that each name a collection and an actor property. Turn on With Actors to list who completed each step.
  • Run a Maximum Finds the highest figure recorded in a numeric Target Property during a Timeframe, optionally per Interval or Group By.
  • Run a Median Computes the median of a numeric Target Property across all events in a Timeframe.
  • Run a Minimum Reports the lowest figure in a numeric Target Property over a Timeframe, optionally split per Interval or Group By.
  • Run a Multi-Analysis Runs several named analyses over one collection and Timeframe in a single request. Give Analyses as a JSON object that names each analysis and its type.
  • Run a Percentile Returns the value under which a chosen Percentile falls for a numeric Target Property, such as the 95th percentile of load time.
  • Run a Standard Deviation Calculates how widely a numeric Target Property varies over a Timeframe.
  • Run a Sum Adds up a numeric Target Property across a Timeframe, giving revenue per day when Interval is daily.
  • Run an Average Calculates the mean of a numeric Target Property within a Timeframe, and per group or interval when asked.
  • Run an Extraction Pulls raw events from a collection for a Timeframe. Set Latest to keep only the newest N, Property Names to limit the columns, or Email to have Keen send a download link instead of rows.
  • Select Unique Values Lists the distinct values that a Target Property takes across the events of a Timeframe.
  • Unrevoke an Access Key Turns a revoked access key back on, so applications that use it regain access.
  • Update a Project Changes a project by renaming it through Name or by editing Users and Preferences. Users given here replace the whole user list, so include everyone who keeps access.
  • Update a Saved Query Modifies a saved query via its Query, Refresh Rate (Hours) or Metadata. Keen replaces the whole definition on every write, so the module reads the current one first and keeps what you leave empty.
  • Update an Access Key Edits a scoped key through its Name, Is Active state, Permitted list or Options. Whatever Permitted holds then replaces the current list instead of adding to it.
  • Update Events Sets or changes properties on stored events in bulk, described by Property Updates. Add a Timeframe and Filters to limit which events change.
  • Watch New Events Polls a collection and starts the workflow for every event whose keen timestamp is newer than the last check. The first check reads only the last hour, and events recorded later with an older timestamp are missed.

No ready-made Baremetrics and Keen automation yet. Describe your own in the AI Workflow Builder.

Build a Baremetrics and Keen workflow with AI

Describe your automation with Baremetrics and Keen - and our AI Workflow Builder will make it done for you.

Explore alternative integrations

There are other apps[9] supported by WEXTL that can be paired with Baremetrics and Keen integrations. Pick any from the list below if the current combination isn't the one you need.

Automate Baremetrics and Keen on WEXTL®

Claim your 3-day trial to build Baremetrics with Keen integration and access every WEXTL® feature.

Cancel anytime.

Frequently asked questions

Common questions about connecting Baremetrics and Keen.

How do I connect Baremetrics and Keen?

Connect your Baremetrics and Keen accounts once, pick a trigger in one app and an action in the other, then map the fields so data flows automatically between them.[3]

What can I automate between Baremetrics and Keen?

Example: when the "Watch New Customers" trigger in Baremetrics fires, WEXTL can "Create a Cached Dataset" in Keen. Baremetrics has 2 triggers (including Watch New Customers and Watch New Subscriptions). Keen has 49 actions (including Create a Cached Dataset, Create a Project, and Create a Saved Query). Add filters and transforms between steps when you need them.[1]

Can Baremetrics trigger actions in Keen, and Keen in Baremetrics?

Yes. The integration works in both directions. Use the triggers of each app to start a workflow and the actions of the other app to update it.[2]

Do I need to write code to integrate Baremetrics and Keen?

No. Baremetrics-to-Keen automations are built visually on the canvas. You can optionally add custom JavaScript with Functions when you need advanced logic.[4]

Does Baremetrics integrate with Keen in real time?

Yes. Trigger-based automations start the moment Baremetrics (or Keen) fires a new event. Webhook-backed apps run within seconds, and polling-only apps re-check on a schedule you control.[7]

How long does it take to set up a Baremetrics + Keen integration?

A first automation typically takes 5–10 minutes: connect the credential of each app once, drop a trigger + action onto the canvas, map the fields, and turn the workflow on.

Do I need a paid plan to connect Baremetrics with Keen?

You can build your Baremetrics + Keen automation on a 3-day trial with every feature unlocked. Cancel anytime.[8]

References

List of sources used to gather information about the Baremetrics and Keen integration.

  1. Baremetrics and Keen integration source code, module specs and credentials implementation.
  2. Our Baremetrics and Keen integration documentation, structured input and output parameters, scopes, and authentication methods.
  3. Official vendor API documentation for Baremetrics and Keen, used to verify field meanings, authentication flows, and anything our own specs don't fully capture.
  4. WEXTL® visual workflow builder, anonymized data from our technical support team.
  5. Baremetrics integration information
  6. Keen integration information
  7. WEXTL® Scheduling
  8. WEXTL® Pricing and Trial
  9. WEXTL® Apps Library

How we write our apps documentation

Explore how WEXTL® crafted Baremetrics and Keen integration page documentation. Used sources, the role of AI, and how the team validates the result.