# 1Flow Destination

## Destination Info

* Accepts [Page](/docs/segment/connections/spec/page), [Alias](/docs/segment/connections/spec/alias), [Identify](/docs/segment/connections/spec/identify), [Track](/docs/segment/connections/spec/track) calls.
* Refer to it as **1Flow** in the [Integrations object.](/docs/segment/guides/filtering-data/#filtering-with-the-integrations-object)
* This integration is **partner owned.** Please reach out to the partner's support for any issues.

[1Flow](https://1flow.app/?utm_source=segmentio\&utm_medium=docs\&utm_campaign=partners) is a leading in-app user survey and messaging platform for Mobile app and SaaS businesses.

Using 1Flow, you can reach users *in-the-moment* while they are interacting with your website or application, to collect highly contextual user insights that help you improve your product offering and customer experience.

This destination is maintained by 1Flow. For any issues with the destination, [contact the 1Flow Support team](mailto:support@1flow.app).

## Getting Started

1. From the Destinations catalog page in the Segment App, click **Add Destination**.
2. Search for **1Flow** in the Destinations Catalog, and select the **1Flow** destination.
3. Choose which Source should send data to the 1Flow destination.
4. Go to the [1Flow dashboard](https://dashboard.1flow.app/) and find the **API Key** in Project Settings.
5. Enter the **API Key** in the 1Flow destination settings in Segment.

## Supported methods

1Flow supports the following methods, as specified in the [Segment Spec](/docs/segment/connections/spec).

### Identify

Send [Identify](/docs/segment/connections/spec/identify) calls to create new user profile or update existing users with new trait values. For example:

```js
analytics.identify("userId123", {
  email: "john.doe@example.com",
});
```

Segment sends Identify calls to 1Flow as an `identify` event.

### Track

Send [Track](/docs/segment/connections/spec/track) calls to record user behavior in your app. For example:

```js
analytics.track("Login Button Clicked");
```

Segment sends Track calls to 1Flow as a `track` event.

### Page

Send [Page](/docs/segment/connections/spec/page) calls to record which website pages users have visited. For example:

```js
analytics.page("Pricing", {
  title: "Segment Pricing",
  url: "https://segment.com/pricing",
  path: "/pricing",
  referrer: "https://segment.com/warehouses",
});
```

Segment sends Page calls to 1Flow as a `page_[name]` event. (or `page_view` if a page name isn't provided).

### Screen

Send [Screen](/docs/segment/connections/spec/screen) calls to record which mobile app screens users have viewed. For example:

```objc
[[SEGAnalytics sharedAnalytics] screen:@"Home"];
```

Segment sends Screen calls to 1Flow as a `screen_[name]` event (or `screen_view` if a screen name isn't provided).

## Engage

You can send computed traits and audiences generated using [Engage](/docs/segment/engage) to this destination as a **user property**. To learn more about Engage, schedule a [demo](https://segment.com/contact/demo).

For user-property destinations, an [identify](/docs/segment/connections/spec/identify/) call is sent to the destination for each user being added and removed. The property name is the snake\_cased version of the audience name, with a true/false value to indicate membership. For example, when a user first completes an order in the last 30 days, Engage sends an Identify call with the property `order_completed_last_30days: true`. When the user no longer satisfies this condition (for example, it's been more than 30 days since their last order), Engage sets that value to `false`.

When you first create an audience, Engage sends an Identify call for every user in that audience. Later audience syncs only send updates for users whose membership has changed since the last sync.

> \[!NOTE]
>
> Real-time audience syncs to 1Flow  may take six or more hours for the initial sync to complete. Upon completion, a sync frequency of two to three hours is expected.

## Settings

Segment lets you change these destination settings from the Segment app without having to touch any code.

| Field   | Description                                                                             | Required | Type   |
| ------- | --------------------------------------------------------------------------------------- | -------- | ------ |
| API Key | Your API key can be found in your 1Flow dashboard -> Settings -> Project Settings page. | Yes      | string |
