Get Affinity company context for incoming emails
Bring the company profile to the message so you can decide on a next step with less searching.
Trigger
New Email Received
Trigger for new emails in an AgentMail inbox
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
Company inquiries often require a separate CRM lookup before you can understand who is involved and what context is already available.
- Retrieve available details for a company mentioned in an email
- Summarize the returned profile in plain language
- Reduce inbox-to-CRM context switching
Setup
Build it in a few focused steps.
- 1Connect Agent mail and Affinity once in the Notis portal.
- 2Create an automation in Notis and give it a clear name.
- 3Describe which company details to retrieve and how to summarize them in one instruction.
- 4Choose New Email Received as the trigger and select where run reports should go.
- 5Test with one real company inquiry and confirm the returned details are useful.
Questions about this workflow
Will it return every company field?
The action returns basic information by default. Additional field data depends on supplied field requests and the connected account's permissions.
Can it add missing information to Affinity?
No. This workflow retrieves and summarizes company information; it does not update records.
When this happens · Trigger
Do this · Action
Supported Triggers and Actions
Notis builds workflows that link Agent mail to Affinity. A trigger fires from one place; an action lands in another.
Agent mail 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.
New Email Received
Trigger for new emails in an AgentMail inbox
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.
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.
Agent mail 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.