Get company context from a new email
When an inbound message points to a company, Notis can retrieve that organization's Affinity profile for a fast context check.
Trigger
New Gmail Message Received Trigger
Triggers when a new message is received in Gmail.
Action
Get a single company
Retrieve basic company info and specific field data by using `fieldids` or `fieldtypes` parameters. multiple fields can be queried. no field data if parameters aren't specified. requires "export all organizations directory" permission.
Why this helps
A company name in an email can mean a detour through Affinity just to understand whether it is already on your radar.
- Surface basic company information tied to a new email.
- Avoid a separate manual company search for every relevant message.
- Make it clear when a company cannot be confidently identified.
Setup
Build it in a few focused steps.
- 1Connect Gmail and Affinity once in the Notis portal.
- 2Create an automation in the portal or tell Notis in plain language.
- 3Describe that new emails mentioning a company should be used to look up the matching Affinity company and summarize returned details.
- 4Choose the New Gmail Message Received trigger and select where run reports should go.
- 5Test with one real email that clearly names a company.
Questions about this workflow
Does the company lookup include custom fields?
Only when the request includes the relevant field identifiers or types. Basic company information is returned by default, and access may require export all organizations directory permission.
Will it add a company if there is no match?
No. The listed Affinity action retrieves a company; it does not create one.
When this happens · Trigger
Do this · Action
Supported Triggers and Actions
Notis builds workflows that link Gmail to Affinity. A trigger fires from one place; an action lands in another.
Gmail triggers
Affinity actions
Recurring trigger
Notis starts this workflow on a schedule, such as daily, weekly, or during business hours.
Get a company s list entries
Summarize company data across all lists, including list-specific fields and metadata like creation date and author. access requires "export data from lists" permission.
Webhook trigger
Notis starts this workflow when an external tool or custom backend sends an HTTP request.
Get a company s lists
Returns metadata for all the lists on which the given company appears.
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.
Get all companies
Affinity api allows paginated access to company info and custom fields. use `fieldids` or `fieldtypes` to specify data in a request. retrieve field ids/types via get `/v2/companies/fields`. export permission needed.
New Gmail Message Received Trigger
Triggers when a new message is received in Gmail.
Get all list entries on a list
Access and export essential data and metadata for companies, persons, or opportunities from a list, specifying data via `fieldids` or `fieldtypes`. "export data from lists" permission is necessary.
Get all list entries on a saved view
Use the endpoint to access rows in a saved view with specific filters and selected fields from a web app. it doesn't maintain sort order, supports only sheet-type views, and requires export permissions.
Get all opportunities
Pagination through opportunities in affinity yields basic info but excludes field data. for field data, use specified get endpoints. "export data from lists" permission needed.
Get all persons
The affinity api offers paginated access to person data using `fieldids` or `fieldtypes`. bulk extraction needs special permissions and supports multiple parameters.
Get a person s list entries
Summary: browse rows for a person in all lists, showing field data and entry metadata like creation time and author. requires "export data from lists" permission.
Connect any two apps with Notis in the middle.
Gmail and Affinity, 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 Affinity.