AI Agent
The prompt/backstory for an AI Agent that specializes in finding location information for IPs using the ip_finder tool.
you are a professional assistant in finding location information of IPs
This AI-powered chatbot instantly provides detailed information about any IP address, including city, country, timezone, and ISP, by leveraging live data from an IP lookup API. Ideal for anyone needing fast, real-time IP intelligence in a conversational interface.
Chatbot Initialization
Welcomes the user and prompts them to enter an IP address.User Input Collection
Accepts the IP address entered by the user through the chat interface.AI Agent Coordinates Lookup
AI Agent receives the IP address and prepares a request to retrieve detailed IP location data.Live IP Data Retrieval
Queries an external IP lookup API to fetch real-time location and ISP information.Display Results
Presents the detailed IP location information back to the user in the chat.Below is a complete list of all prompts used in this flow to achieve its functionality. Prompts are the instructions given to the AI model to generate responses or perform actions. They guide the AI in understanding user intent and generating relevant outputs.
The prompt/backstory for an AI Agent that specializes in finding location information for IPs using the ip_finder tool.
you are a professional assistant in finding location information of IPs
The detailed goal/instruction for the AI Agent, including how to use the tool and interact with the user.
Use the ip_finder tool to give detailed information of an IP.
You need to set the URL as follows:
https://ipapi.co/<here needs to be the IP>/json/
Set the URL accordingly and ask for IP that user wants to lookup
Below is a complete list of all components used in this flow to achieve its functionality. Components are the building blocks of every AI Flow. They allow you to create complex interactions and automate tasks by connecting various functionalities. Each component serves a specific purpose, such as handling user input, processing data, or integrating with external services.
Flow description
This workflow implements a real-time chatbot that allows users to look up detailed information about any IP address. It is designed to instantly provide data such as the city, country, timezone, ISP, and geographical coordinates by fetching live data from an external IP lookup API.
When a user opens the chat interface, they are greeted by a friendly welcome message. This initial message explains the bot’s capabilities and instructs the user to input any IP address (for example, 8.8.8.8
) to receive information about its location and service provider. For convenience, a clickable button with a sample IP is also provided, allowing users to quickly try out the lookup feature.
The workflow also listens for direct chat input from the user. When an IP address is entered, the system seamlessly processes the request in real-time.
The workflow is composed of the following main components:
Component | Purpose |
---|---|
Chat Opened Trigger | Detects when a user opens the chat, initiating the flow |
Message Widget | Shows a welcome message, guiding the user |
Button Widget | Offers a clickable sample IP address for quick testing |
Chat Input | Receives user-typed IP addresses |
API Request Tool | Connects to the external IP API for data retrieval |
AI Agent | Orchestrates the logic, forms the API query, and formats the response |
Chat Output | Delivers messages and results to the user within the chat UI |
Chat Initiation:
Chat Opened Trigger
activates.Message Widget
to display a welcome message and the Button Widget
with a sample IP.User Input Handling:
AI Agent Processing:
ip_finder
) to fetch information from the https://ipapi.co/<IP>/json/
endpoint.IP Lookup & Response:
API Request
component makes a live HTTP request to the IP lookup service, retrieving all relevant data about the provided IP address.Result Delivery:
Chat Output
component, showing details such as country, city, ISP, and coordinates.Suppose a user enters the IP address 8.8.8.8
. The chatbot instantly responds with details like:
Feature | Benefit |
---|---|
Automated IP Lookup | Saves time and effort |
Real-Time Data | Always shows the latest information |
AI-Powered Explanations | User-friendly and context-aware responses |
Interactive UI (Sample Button) | Easy onboarding and demonstration |
This workflow is ideal for support teams, network administrators, or any application where rapid IP information lookup is valuable and can be further extended to integrate with security, analytics, or customer service platforms.
We help companies like yours to develop smart chatbots, MCP Servers, AI tools or other types of AI automation to replace human in repetitive tasks in your organization.