Skip to content
Notis

Get a compact country code from an IP

For simple routing or a quick regional check, request the country code without scanning a larger IP record.

Trigger

New Message Received

Triggered when your bot receives a new message in a private chat, group, or supergroup. To receive every message in a group, Privacy Mode must be disabled for the bot in BotFather.

Action

IPData: Country Code

Tool to return only country_code for an IP. Use when only the 2-letter country code is required.

Why this helps

Small regional checks can become distracting when they require opening a comprehensive lookup and parsing fields manually.

  • Returns only the two-letter country code.
  • Keeps a quick regional check short and readable.
  • Helps with high-level request routing when country code is sufficient.

Setup

Build it in a few focused steps.

  • 1Connect Telegram and Ipdata co to Notis once through the portal.
  • 2Create the automation in the portal or ask Notis to return the country code for IPs sent through Telegram.
  • 3Write one plain-language instruction asking for only Ipdata co's country_code result.
  • 4Select Telegram New Message Received as the trigger and choose a channel for run reports.
  • 5Test with an IP from a request where a country code is useful.

Questions about this workflow

What does this workflow return?

It returns the two-letter country_code field associated with the IP.

Can this prove where a person is?

No. It is an IP-derived country indication and should not be treated as proof of a person's location.

When this happens · Trigger

Do this · Action

Supported Triggers and Actions

Notis builds workflows that link Telegram to Ipdata co. A trigger fires from one place; an action lands in another.

Telegram triggers

Ipdata co actions

Recurring trigger

Notis starts this workflow on a schedule, such as daily, weekly, or during business hours.

TriggerScheduled

Advanced ASN Lookup

Tool to perform advanced ASN lookup returning prefixes, peers, and registry details. Use after confirming ASN number when detailed ASN info is required.

ActionInstant

Webhook trigger

Notis starts this workflow when an external tool or custom backend sends an HTTP request.

TriggerInstant

Get Carrier Data for an IP

Tool to return mobile carrier data for a specific IP. Use when you need carrier name, MCC, and MNC for an IP address.

ActionInstant

New Message Received

Triggered when your bot receives a new message in a private chat, group, or supergroup. To receive every message in a group, Privacy Mode must be disabled for the bot in BotFather.

TriggerInstant

EU-specific IP lookup

Tool to lookup a specific IP address via the EU-only data residency endpoint. Use when you need IP lookup processed and stored within the EU.

ActionInstant

New Channel Post

Triggered when a new post is published to a channel where your bot is an administrator.

TriggerInstant

IPData: Calling Code

Tool to fetch the international calling_code for an IP's country. Use when you need only the calling code field from ipdata_co.

ActionInstant

Callback Query Received

Triggered when a user taps an inline keyboard button attached to one of your bot's messages.

TriggerInstant

IPDATA Field Carrier

Tool to return only the carrier object for the calling IP. Use when you need mobile carrier details of a specific IP.

ActionInstant

Message Edited

Triggered when a message in a chat your bot can see is edited by its sender.

TriggerInstant

Get City from IP

Tool to return only city for an IP. Use when only the city name is required.

ActionInstant

New Chat Member

Triggered when a new member joins a group or supergroup the bot belongs to, including when the bot itself is added.

TriggerInstant

IPData: Continent Code

Tool to return only continent_code for an IP. Use when only the continent code is required.

ActionInstant

Get Continent Name from IP

Tool to return only continent name for an IP. Use when only the continent name is required.

ActionInstant

Connect any two apps with Notis in the middle.

Telegram and Ipdata co, or any other combination from 1,000+ integrations.

When this happens · Trigger

Do this · Action

Save your first hour today.

7-day trial of any paid plan, with 20$ of usage included.
No card. Works with personal or business Ipdata co.