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

AppsFlyer

Measure app attribution, reporting, events, and OneLink campaigns.

Connectors

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

Connector
Authentication

AppsFlyer

API key or token

AppsFlyer

Connect with an API V2 token for reporting. Add an S2S token to send in-app events or a OneLink token to create attribution URLs.

Set up in AppsFlyer

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

  2. OneLink Token: Optional. Required only to create OneLink attribution URLs.

Set up in StackAI

  1. Open Settings → Connections, add a connection, and select AppsFlyer.

  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

API V2 Token

Yes

Required for app discovery and AppsFlyer reporting actions. Provider instructions.

S2S Token

Optional / as applicable

Optional. Required only to send in-app events through the API3 action. Provider instructions.

OneLink Token

Optional / as applicable

Optional. Required only to create OneLink attribution URLs. Provider instructions.

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 AppsFlyer 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

List Apps

List the AppsFlyer apps available to the connected account.

Inputs

Field
Type
Required
Description

Capability

select (string)

No

Optionally show only apps with a specific AppsFlyer capability. Available values: No filter, Protect360 reports, Cost integration.

Maximum Results

integer

No

Maximum number of apps to return. Minimum: 1. Maximum: 1000. Default: 100.

Starting Offset

integer

No

Zero-based result offset to resume from. Minimum: 0. Default: 0.

Outputs

Field
Type
Description

Apps

object_array

Apps available to the connected AppsFlyer account.

App Count

integer

Number of apps returned in this result.

Next Offset

integer

Offset for the next page, when more apps are available.

Pull Aggregate Performance Report

Retrieve aggregate AppsFlyer performance metrics for one app and date range.

Inputs

Field
Type
Required
Description

App

select (string)

Yes

App to report on. Options load from the selected connection.

From Date

date

Yes

First attribution date included in the report.

To Date

date

Yes

Last attribution date included in the report.

Group By

textarea

Yes

Dimensions used to group report rows. Default: app_id,pid,c.

Metrics

textarea

Yes

Metrics included in the report. Default: impressions,clicks,installs,cost,revenue,roi.

Media Sources

textarea

No

Optionally limit rows to selected media sources.

Campaigns

textarea

No

Optionally limit rows to selected campaigns.

Countries

textarea

No

Optionally limit rows to selected countries.

Outputs

Field
Type
Description

Records

object_array

Aggregate report records with the selected dimensions and metrics.

Row Count

integer

Number of aggregate report rows returned.

Export Raw In-App Events

Export user-level in-app event records for an AppsFlyer app and time range.

Inputs

Field
Type
Required
Description

App

select (string)

Yes

App whose event data should be exported. Options load from the selected connection.

From

datetime

Yes

Start of the event export window.

To

datetime

Yes

End of the event export window.

Maximum Results

integer

No

Maximum number of raw events to include in the workflow output. Minimum: 1. Maximum: 1000000. Default: 1000.

Event Name

string

No

Optionally include only one exact in-app event name.

Outputs

Field
Type
Description

Events

object_array

Raw in-app event records returned for the selected app and time range.

Event Count

integer

Number of raw event records returned.

May Be Truncated

boolean

Whether the result reached the requested row cap.

Send In-App Event

Send one measured mobile in-app event to AppsFlyer from a backend system.

Inputs

Field
Type
Required
Description

App

select (string)

Yes

App that generated the event. Options load from the selected connection.

AppsFlyer ID

string

Yes

AppsFlyer device identifier for the user who performed the event.

Event Name

string

Yes

Name of the conversion event.

Event Values

textarea

Yes

Event properties and values sent with the conversion. Default: {}.

Customer User ID

string

No

Your own stable identifier for this user, when available.

Event Time

datetime

No

Time the event occurred, if different from send time.

Advertising ID

string

No

Android advertising ID, when consent and platform rules allow it.

IDFA

string

No

Apple advertising identifier, when consent and platform rules allow it.

Outputs

Field
Type
Description

Accepted

boolean

Whether AppsFlyer accepted the event request.

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?