Skip to content
Notis

Calculate itinerary airport distance from Gmail

For a route question with two airport codes, fetch the distance and keep the result alongside the request.

Trigger

New Gmail Message Received Trigger

Triggers when a new message is received in Gmail.

Action

Get airport distance by IATA

Tool to get distance between two airports by their iata codes. use when you have valid airport iata codes and need the flight distance.

Why this helps

Finding route distance means leaving the itinerary context and manually checking that both airport codes are available.

  • Calculate distance when both IATA codes are present.
  • Keep the route question and result together in the run report.
  • Avoid searching separately for a basic route distance.

Setup

Build it in a few focused steps.

  • 1Connect Gmail and Apiverve once in the Notis portal.
  • 2Create an automation and give it a clear name.
  • 3Tell Notis to identify requests for distance between airports, confirm that two valid IATA codes are present, fetch the distance, and report it.
  • 4Pick New Gmail Message Received as the trigger and choose where run reports go.
  • 5Test with one real request containing two airport IATA codes.

Questions about this workflow

What airport identifiers are needed?

The request needs valid IATA codes for both airports.

What happens if one code is missing?

The distance action needs both codes, so the report should state that the request lacks the required airport code.

When this happens · Trigger

Do this · Action

Supported Triggers and Actions

Notis builds workflows that link Gmail to Apiverve. A trigger fires from one place; an action lands in another.

Gmail triggers

Apiverve actions

Recurring trigger

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

TriggerScheduled

Advice Generator

Tool to generate a random piece of advice. use when you need spontaneous guidance or motivation.

ActionInstant

Webhook trigger

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

TriggerInstant

Age Calculator

Tool to calculate age from date of birth. use when you need a breakdown of years, months, weeks, and days from a given dob. example: "calculate age for dob=1990-01-01"

ActionInstant

Email Sent

Triggers when a Gmail message is sent by the authenticated user. It polls the 'SENT' label and emits metadata including sender, recipients, subject, timestamp, and thread ID.

TriggerPolling

Get Airline Info by Name

Tool to get airline info by name. use after obtaining the official airline name.

ActionInstant

New Gmail Message Received Trigger

Triggers when a new message is received in Gmail.

TriggerPolling

Get airport distance by IATA

Tool to get distance between two airports by their iata codes. use when you have valid airport iata codes and need the flight distance.

ActionInstant

Get Airport Info by ICAO Code

Tool to get airport information by icao code. use when you have a valid 4-letter icao code and need detailed airport information.

ActionInstant

Air Quality

Tool to get air quality data for a city. use when you need current aqi, pollutant levels, and a health recommendation.

ActionInstant

Find antonyms for a word

Tool to get antonyms for a word. use when you need opposite terms for text analysis.

ActionInstant

App Store Scraper

Tool to fetch detailed app metadata from the app store. use when you have a valid app store app id and country code.

ActionInstant

Connect any two apps with Notis in the middle.

Gmail and Apiverve, 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 Apiverve.