> For the complete documentation index, see [llms.txt](https://doc.appflow.ai/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.appflow.ai/docs/integrations/branch.md).

# Branch

Send events to Branch from Appflow\.ai

***

Here is an instruction including Branch actions to work with this integration

1. Creating App Creating an app in the branch first. Note that there is a switch to change to "live: and test in the top left. The key and setting will be different between live mode and test mode.
2. Setting Android\
   It needs to set the Android URI Scheme , Custom URL, Package Name and Fingerprints.

<figure><img src="https://1902080327-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTUSTYqtR8RNNkx3qqWf9%2Fuploads%2FDXIc8MfdjOKXlHrUO6xd%2Fimage.png?alt=media&amp;token=8878ae63-f1b2-4886-9194-a7c37b1a68ac" alt=""><figcaption></figcaption></figure>

3. Setting iOS\
   It needs to set the iOS URI Scheme , Custom URL and Bundle Identifiers.

<figure><img src="https://1902080327-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTUSTYqtR8RNNkx3qqWf9%2Fuploads%2FXBFFKZhOe48aTXdfHsay%2Fimage.png?alt=media&amp;token=b8cb2cc8-1b1f-4823-9215-3dd5506cf356" alt=""><figcaption></figcaption></figure>

4. Checking Integration Status

<figure><img src="https://1902080327-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTUSTYqtR8RNNkx3qqWf9%2Fuploads%2FCQ5yMtDSuckedtwDnw0D%2Fimage.png?alt=media&amp;token=51cde238-4dec-487f-b0f2-54283f8a9c4d" alt=""><figcaption></figcaption></figure>

5. Creating Tracking Link\
   We chose the App Only type Ad Link in Branch.

<figure><img src="https://1902080327-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTUSTYqtR8RNNkx3qqWf9%2Fuploads%2FFHcxYtuemHWDOZW9ieVX%2Fimage.png?alt=media&amp;token=ce41ae36-f9db-47ed-846e-8d98cf6d0019" alt=""><figcaption></figcaption></figure>

6. Go to Appflow\.ai and add a key for Branch to enable integration\
   Settings - Manage apps - Choose app - Edit app - Branch

<figure><img src="https://1902080327-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTUSTYqtR8RNNkx3qqWf9%2Fuploads%2FONooTImqUVP0hNILtVCM%2Fimage.png?alt=media&amp;token=06f4a38b-55dc-4147-b697-95f1ef9f5b76" alt=""><figcaption></figcaption></figure>

7. Check the Menu LiveView and select the filter custom event

   <figure><img src="https://1902080327-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTUSTYqtR8RNNkx3qqWf9%2Fuploads%2Fmz20JM88jKFqFfERWrwP%2Fimage.png?alt=media&amp;token=8913e575-7078-4711-9799-a6a9bc6dcbd5" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://doc.appflow.ai/docs/integrations/branch.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
