web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / Detect local IP addres...
Copilot Studio
Unanswered

Detect local IP address of chatbot user

(0) ShareShare
ReportReport
Posted on by 5

Hello!


I am developing a chat bot that will be deployed internally on a self-service site in my company. It would be extremely useful if the bot could automatically learn the location ID of the user. The self-service site on which the bot will be embedded can already generate a user's location ID through a function which detects the IP address of the user, then cross-references that IP address against an array that matches location IDs to IP addresses, and returns the relevant location ID to a javascript variable.

 

For example:

- a user logs on to the site from IP address 1.2.3.4

- the site runs a function that detects the IP address and checks an array which finds that IP 1.2.3.4 belongs to location 2222

- the function returns the value 2222 to the variable location_id

 

Is there a way I can do one of the following?

- Detect the local IP address of the chatbot user, so that I can recreate the function described above in Power Automate

- Pass the value of the location_id variable directly to the chatbot

 

I first tried using a custom connector in Power Automate that called the IPify API, but of course it only returned the IP address that Power Virtual Agent runs the chatbot from, instead of the users local IP address.

 

Thank you!

- Dylan

Categories:
I have the same question (0)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Copilot Studio

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 265 Super User 2025 Season 2

#2
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 240 Super User 2025 Season 2

#3
S-Venkadesh Profile Picture

S-Venkadesh 101 Moderator

Last 30 days Overall leaderboard