# xAPI Statement Data explorer

The **Statement Data Explorer** is available inside a flow that has been created from the provided template called "xAPI Actions Handler Base Flow". See [creating your first flow.](https://documentation.globebyte.com/reasoning-ai/actions-for-learning/creating-your-first-xapi-action-flow)

It will appear in the **Flow Resources** drop down. In the example below, we are setting up a **Decision**, and this decision will be based on data in the inbound xAPI Statement:

<figure><img src="https://1749012385-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcTyQ05dv9UTW8n6ypeAM%2Fuploads%2FqDMLi6i19gk9qfGFElwA%2Fimage.png?alt=media&#x26;token=cd045f62-6fb6-41ba-9148-42ef1d9a78a8" alt=""><figcaption></figcaption></figure>

You can drill into the statement data object structure to find the xAPI property you want to test, assign or base Flow decisions on.&#x20;

In the example below, we want to decide if the inbound xAPI statement has come from our onboarding learning activities, so that we can log completion or send a message to the learner.

As such we have selected `xapiContext>contextActivities>grouping>id` and entered the id that refers to these activities in our course material:

<figure><img src="https://1749012385-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcTyQ05dv9UTW8n6ypeAM%2Fuploads%2FHbJyDopNZ0slAKVkWLdx%2Fimage.png?alt=media&#x26;token=f6498e75-d477-4e67-b6da-4892d79a872f" alt=""><figcaption></figcaption></figure>

For a deeper understanding of the xAPI Statement Data there follows brief explanations and practical examples of the elements and sub-components of the statement:

* [Metadata](https://documentation.globebyte.com/reasoning-ai/actions-for-learning/xapi-statement-data-explorer/metadata)
* [xapiActor](https://documentation.globebyte.com/reasoning-ai/actions-for-learning/xapi-statement-data-explorer/xapiactor)
* [xapiVerb](https://documentation.globebyte.com/reasoning-ai/actions-for-learning/xapi-statement-data-explorer/xapiverb)
* [xapiObject](https://documentation.globebyte.com/reasoning-ai/actions-for-learning/xapi-statement-data-explorer/xapiobject)
* [authority](https://documentation.globebyte.com/reasoning-ai/actions-for-learning/xapi-statement-data-explorer/authority)
* [xapiResult](https://documentation.globebyte.com/reasoning-ai/actions-for-learning/xapi-statement-data-explorer/xapiresult)
* [xapiContext](https://documentation.globebyte.com/reasoning-ai/actions-for-learning/xapi-statement-data-explorer/xapicontext)<br>
