# How can I get twilio message information in my custom action?

**URL:** <https://forum.rasa.com/t/how-can-i-get-twilio-message-information-in-my-custom-action/51520>\
**Category:** Rasa Open Source\
**Created:** [February 22, 2022, 10:48pm UTC](https://forum.rasa.com/t/how-can-i-get-twilio-message-information-in-my-custom-action/51520 "2022-02-22T22:48:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![fredseidler](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/fredseidler/32/19535_2.png) [@fredseidler](https://forum.rasa.com/u/fredseidler)\
**Post date:** [February 22, 2022, 10:48pm UTC](https://forum.rasa.com/t/how-can-i-get-twilio-message-information-in-my-custom-action/51520/1 "2022-02-22T22:48:05Z")

</div>

I would like to be able to discover a message’s twilio information (AccountSID, Message SID etc.) and then utter that back to the user.

I am trying:

```auto
acc_sid = str(request.form.get('AccountSid'))

```

but not getting very far!

Thanks!

---

<div class="post-metadata">

**Author:** ![ChrisRahme](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/chrisrahme/32/15572_2.png) [@ChrisRahme](https://forum.rasa.com/u/ChrisRahme)\
**Post date:** [February 23, 2022, 6:49pm UTC](https://forum.rasa.com/t/how-can-i-get-twilio-message-information-in-my-custom-action/51520/2 "2022-02-23T18:49:12Z")

</div>

Welcome to the forum! 🙂

Where are you trying this code? Can you explain the reasoning behind it?

You can send info from a channel to Rasa with a method similar to what I described here: [Different response for each users types - #6 by ChrisRahme](http://forum.rasa.com/t/different-response-for-each-users-types/51429/6)

Also, in a [Custom Action](https://rasa.com/docs/action-server/sdk-actions), all the info you can have about the state of the conversation on Rasa’s side is stored in the [`tracker`](https://rasa.com/docs/action-server/sdk-tracker) variable.

---

<div class="post-metadata">

**Author:** ![fredseidler](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/fredseidler/32/19535_2.png) [@fredseidler](https://forum.rasa.com/u/fredseidler)\
**Post date:** [March 14, 2022, 10:12am UTC](https://forum.rasa.com/t/how-can-i-get-twilio-message-information-in-my-custom-action/51520/3 "2022-03-14T10:12:28Z")

</div>

Hi Chris - sorry for taking some time on this!

I have connected rasa to WhatsApp through twilio. I am trying to send a message to a user that contains the twilio message parameters of the previous message.

For example, if a user sent in a photo, while Rasa can’t process the image I would like to be able to send the user the url address of where twilio has stored the image as a string

Does that make sense?
