# Accessing tracker from output channel

**URL:** <https://forum.rasa.com/t/accessing-tracker-from-output-channel/15172>\
**Category:** Rasa Open Source\
**Created:** [September 3, 2019, 2:43pm UTC](https://forum.rasa.com/t/accessing-tracker-from-output-channel/15172 "2019-09-03T14:43:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![cristianmtr](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/cristianmtr/32/4894_2.png) [@cristianmtr](https://forum.rasa.com/u/cristianmtr)\
**Post date:** [September 3, 2019, 2:43pm UTC](https://forum.rasa.com/t/accessing-tracker-from-output-channel/15172/1 "2019-09-03T14:43:28Z")

</div>

Hello,

I am wondering whether it would be possible to access the tracker from the output channel.

We are using several FB pages on the same app (bot). Thus we cannot store the token/secret in the class itself, but need to check it on runtime against our db.

The problem is that we cannot use the `conversations/execute` API to trigger events from outside the bot (we want to use this to send custom notifications to users). However, when we do this we cannot send a message to Messenger since the FB class doesn’t store the secret/token (as mentioned).

However, we could get these based on the `sender_id` from the tracker.

This is in the file `/lib/python3.6/site-packages/rasa/server.py`, at:

```python
    return reduce(
        lambda output_channel_created_so_far, input_channel: (
            input_channel.get_output_channel() or output_channel_created_so_far
        ),
        matching_channels,
        CollectingOutputChannel(),
    )

```

Is there anyway to achieve this? (I think the `tracker` obj. contains info. on the current `sender_id`)

```auto
    return reduce(
        lambda output_channel_created_so_far, input_channel: (
            input_channel.get_output_channel(tracker) or output_channel_created_so_far
        ),
        matching_channels,
        CollectingOutputChannel(),
    )

```

We don’t want to fork Rasa for this 😛
