How to get caller's phone number or ANI in Bot flow?

How to get caller's phone number or ANI in Bot flow?

Pass it into the bot flow as an input parameter from the call flow using the call flow's built-in variable Call.Ani

Thank you for your response @MelissaBailey

I am aware of "Call.Ani", However I can only call it from Inbound Call flow and not Bot flow.

image

Create an input variable in your bot flow


Publish the bot flow. Then in your inbound call flow, you will see the input in the inputs section and pass the value of Call.Ani into it.