Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

GrowthBook

Manage GrowthBook feature flags, experiments, and experiment results.

Connectors

Choose the connector that matches your authentication method. The options below use the names shown in StackAI.

Connector
Authentication

GrowthBook (API Key)

Admin Secret Key

GrowthBook (API Key)

Connect GrowthBook Cloud or a self-hosted instance to manage feature flags and experiments.

Set up in GrowthBook

  1. Prepare the GrowthBook account or service that the workflow will access. Grant access to the required resources and operations.

  2. Admin Secret Key: In GrowthBook, open Settings > API Keys, create a Secret Key with the admin role, and paste it here. Read-only keys cannot create or update resources.

Set up in StackAI

  1. Open Settings → Connections, add a connection, and select GrowthBook (API Key).

  2. Enter the credentials and connection details in the fields below.

  3. Save the connection and check its connection status. Select this saved connection when configuring an action or feature that uses it.

Connection fields

StackAI field
Required
What to enter

Admin Secret Key

Yes

In GrowthBook, open Settings > API Keys, create a Secret Key with the admin role, and paste it here. Read-only keys cannot create or update resources. Provider instructions.

API Base URL

Optional / as applicable

Use https://api.growthbook.io/api for GrowthBook Cloud. For self-hosted GrowthBook, enter the API_HOST value including its /api path.

Verify the connection

Check that the connection is healthy. Then run a read operation against a resource the connected account can access. A successful connection check confirms authentication; it does not guarantee permission for every action.

If access is denied, check the credential or OAuth permissions, the selected account or environment, and access to the specific resource. Update expired credentials or reconnect after permissions change.

Use an action

  1. Add the required GrowthBook action to the workflow.

  2. Select a connection when the action requests one.

  3. Complete the required fields. Use the reference picker when a value comes from another workflow step.

  4. Run the workflow and inspect the action’s output. Check the result before using it in a later step.

Actions

Create Feature

Create a GrowthBook feature flag with a typed default value.

Inputs

Field
Type
Required
Description

Feature Key

string

Yes

Stable key used by SDKs to evaluate the feature.

Owner

string

Yes

GrowthBook user ID or member email that owns the feature.

Value Type

select (string)

Yes

Type returned when the feature is evaluated. Available values: Boolean, String, Number, Json. Default: boolean.

Default Value

string

Yes

Value returned when no targeting rule matches.

Description

textarea

No

What this feature controls.

Project

select (string)

No

Project that owns the feature. Options load from the selected connection.

Tags

string

No

Comma-separated tags.

Outputs

Field
Type
Description

Feature Key

string

Created feature key.

Value Type

string

Feature value type.

Default Value

string

Stored default value.

Update Feature

Update a GrowthBook feature's metadata or default value.

Inputs

Field
Type
Required
Description

Feature

select (string)

Yes

Feature to update. Options load from the selected connection.

Description

textarea

No

Replacement description.

Default Value

string

No

Replacement default value.

Archived

boolean

No

Archive or restore the feature.

Project

select (string)

No

Replacement project. Options load from the selected connection.

Tags

string

No

Replacement comma-separated tags.

Outputs

Field
Type
Description

Feature Key

string

Updated feature key.

Default Value

string

Current default value.

Archived

boolean

Whether the feature is archived.

List Features

List GrowthBook feature flags, optionally filtered by project.

Inputs

Field
Type
Required
Description

Project

select (string)

No

Only features in this project. Options load from the selected connection.

Offset

integer

No

Number of matching features to skip. Minimum: 0. Default: 0.

Outputs

Field
Type
Description

Features

object_array

Matching GrowthBook features.

Next Offset

integer

Offset for the next batch, if any.

Total

integer

Provider-reported match count.

Create Experiment

Create a draft GrowthBook experiment with control and test variations.

Inputs

Field
Type
Required
Description

Tracking Key

string

Yes

Key emitted in exposure events.

Name

string

Yes

Human-readable experiment name.

Control Name

string

Yes

Name of the baseline variation. Default: Control.

Variation Name

string

Yes

Name of the test variation. Default: Variation.

Control Key

string

Yes

Tracking value for the control. Default: control.

Variation Key

string

Yes

Tracking value for the variation. Default: variation.

Assignment Query ID

string

Yes

Assignment query that records which variation each user saw.

Data Source ID

string

No

Data source that defines the assignment query.

Project

select (string)

No

Project that owns the experiment. Options load from the selected connection.

Owner

string

No

GrowthBook user ID or member email.

Hypothesis

textarea

No

Expected effect of the variation.

Description

textarea

No

Experiment context.

Tags

string

No

Comma-separated tags.

Outputs

Field
Type
Description

Experiment ID

string

New internal experiment ID.

Tracking Key

string

Experiment tracking key.

Name

string

Experiment name.

Status

string

Experiment lifecycle status.

Variations

object_array

Created control and test variations.

Get Experiment Results

Retrieve analyzed results for a GrowthBook experiment.

Inputs

Field
Type
Required
Description

Experiment

select (string)

Yes

Experiment whose analysis to retrieve. Options load from the selected connection.

Phase

string

No

Specific experiment phase.

Dimension

string

No

Dimension-specific result slice.

Outputs

Field
Type
Description

Experiment Results

object

Latest GrowthBook analysis snapshot.

Important behavior

Actions that create, update, send, or delete data can change the connected service. Review their inputs before running them. A retry can repeat an operation; consider this when configuring retries for actions that change data.

The catalog lists the fields and capabilities available in the supplied provider definition. Availability can also depend on your deployment and organization’s Feature Access settings.

Last updated

Was this helpful?