AgencyZoom
App · 20 actions
Search insurance leads, customers, tasks and service requests.
Actions
| Action | What it does |
|---|---|
| Get customer | Get customer from AgencyZoom. |
| Get lead | Get lead from AgencyZoom. |
| Get task | Get task from AgencyZoom. |
| List carriers | List carriers from AgencyZoom. |
| List customer policies | List customer policies from AgencyZoom. |
| List customer tasks | List customer tasks from AgencyZoom. |
| List employees | List employees from AgencyZoom. |
| List lead notes | List lead notes from AgencyZoom. |
| List lead opportunities | List lead opportunities from AgencyZoom. |
| List lead quotes | List lead quotes from AgencyZoom. |
| List lead sources | List lead sources from AgencyZoom. |
| List lead tasks | List lead tasks from AgencyZoom. |
| List locations | List locations from AgencyZoom. |
| List pipelines and stages | List pipelines and stages from AgencyZoom. |
| List service categories | List service categories from AgencyZoom. |
| List tags | List tags from AgencyZoom. |
| Search customers | Search customers from AgencyZoom. |
| Search leads | Search leads from AgencyZoom. |
| Search service requests | Search service requests from AgencyZoom. |
| Search tasks | Search tasks from AgencyZoom. |
Get customer
Get customer from AgencyZoom.
Inputs
- Customer ID
customer_idnumberRequired - ID of the customer
Outputs
dataobject- The response from AgencyZoom.
Example output
{
"data": {
"businessName": "example",
"city": "example",
"country": "example",
"email": "example",
"firstname": "example",
"id": 1,
"lastname": "example",
"middlename": "example",
"phone": "example",
"secondaryEmail": "example",
"secondaryPhone": "example",
"state": "example",
"streetAddress": "example",
"zip": "example"
}
}Get lead
Get lead from AgencyZoom.
Inputs
- Lead ID
lead_idnumberRequired - ID of the lead
Outputs
dataobject- The response from AgencyZoom.
Example output
{
"data": {
"city": "example",
"country": "example",
"email": "example",
"firstname": "example",
"id": 1,
"lastname": "example",
"leadType": "example",
"middlename": "example",
"phone": "example",
"secondaryEmail": "example",
"secondaryPhone": "example",
"state": "example",
"status": 0,
"streetAddress": "example"
}
}Get task
Get task from AgencyZoom.
Inputs
- Task ID
task_idnumberRequired - ID of the task
Outputs
dataobject- The response from AgencyZoom.
Example output
{
"data": {
"assignedDate": "example",
"assignees": [
{
"firstname": "example",
"id": 1,
"isEmployee": true,
"lastname": "example"
}
],
"comments": "example",
"completeDate": "example",
"completedBy": 1,
"createDate": "example",
"dueDate": "example",
"duration": 1,
"id": 1,
"isCompletedByEmployee": true,
"status": 0,
"taskDateTime": "example",
"timeSpecific": true,
"title": "example"
}
}List carriers
List carriers from AgencyZoom.
Inputs
None.
Outputs
datalist- The response from AgencyZoom.
Example output
{
"data": [
{
"id": 1,
"name": "example",
"standardCarrierCode": "example"
}
]
}List customer policies
List customer policies from AgencyZoom.
Inputs
- Customer ID
customer_idnumberRequired - ID of the customer
Outputs
dataobject- The response from AgencyZoom.
Example output
{
"data": {
"agentId": 1,
"agentName": "example",
"carrierId": 1,
"id": 1,
"items": 1,
"leadSourceId": 1,
"policyNumber": "example",
"policyTypeId": "example",
"policyTypeName": "example",
"premium": 1,
"soldDate": "example",
"standardCarrierCode": "example",
"standardProductLineCode": "example",
"status": 0
}
}List customer tasks
List customer tasks from AgencyZoom.
Inputs
- Customer ID
customer_idnumberRequired - ID of the customer
Outputs
datalist- The response from AgencyZoom.
Example output
{
"data": [
{
"assignedDate": "example",
"assignees": [
{
"firstname": "example",
"id": 1,
"isEmployee": true,
"lastname": "example"
}
],
"comments": "example",
"completeDate": "example",
"completedBy": 1,
"createDate": "example",
"dueDate": "example",
"duration": 1,
"id": 1,
"isCompletedByEmployee": true,
"status": 0,
"taskDateTime": "example",
"timeSpecific": true,
"title": "example"
}
]
}List employees
List employees from AgencyZoom.
Inputs
None.
Outputs
datalist- The response from AgencyZoom.
Example output
{
"data": [
{
"avatar": "example",
"email": "example",
"externalIds": [
"example"
],
"externalSystem": "example",
"firstname": "example",
"id": 1,
"isActive": true,
"isOwner": true,
"isProducer": true,
"lastname": "example",
"phone": "example",
"userId": 1
}
]
}List lead notes
List lead notes from AgencyZoom.
Inputs
- Lead ID
lead_idnumberRequired - ID of the lead
Outputs
datalist- The response from AgencyZoom.
Example output
{
"data": [
{
"attr": {},
"body": "example",
"createDate": "example",
"createdBy": "example",
"title": "example",
"type": "example"
}
]
}List lead opportunities
List lead opportunities from AgencyZoom.
Inputs
- Lead ID
lead_idnumberRequired - ID of the lead
Outputs
datalist- The response from AgencyZoom.
Example output
{
"data": [
{
"carrierId": 1,
"customFields": [
{
"fieldName": "example",
"fieldValue": [
"example"
]
}
],
"id": 1,
"items": 1,
"premium": 1,
"productLineId": 1,
"propertyAddress": [
{
"address1": "example",
"address2": "example",
"city": "example",
"country": "example",
"id": 1,
"leadOpportunityId": 1,
"state": "example",
"useMailingAddressAsLocation": 1,
"zip": "example"
}
],
"standardCarrierCode": "example",
"standardProductLineCode": "example",
"status": 1
}
]
}List lead quotes
List lead quotes from AgencyZoom.
Inputs
- Lead ID
lead_idnumberRequired - ID of the lead
Outputs
datalist- The response from AgencyZoom.
Example output
{
"data": [
{
"carrierId": 1,
"carrierName": "example",
"customFields": [
{
"fieldName": "example",
"fieldValue": [
"example"
]
}
],
"id": 1,
"items": 1,
"potentialRevenue": 1,
"premium": 1,
"productLineId": 1,
"productName": "example",
"propertyAddress": [
{
"address1": "example",
"address2": "example",
"city": "example",
"country": "example",
"id": 1,
"leadOpportunityId": 1,
"state": "example",
"useMailingAddressAsLocation": 1,
"zip": "example"
}
],
"sold": true,
"standardCarrierCode": "example",
"standardProductLineCode": "example",
"status": 1
}
]
}List lead sources
List lead sources from AgencyZoom.
Inputs
None.
Outputs
datalist- The response from AgencyZoom.
Example output
{
"data": [
{
"categoryId": 1,
"excludeAsSales": true,
"id": 1,
"name": "example"
}
]
}List lead tasks
List lead tasks from AgencyZoom.
Inputs
- Lead ID
lead_idnumberRequired - ID of the lead
Outputs
datalist- The response from AgencyZoom.
Example output
{
"data": [
{
"assignedDate": "example",
"assignees": [
{
"firstname": "example",
"id": 1,
"isEmployee": true,
"lastname": "example"
}
],
"comments": "example",
"completeDate": "example",
"completedBy": 1,
"createDate": "example",
"dueDate": "example",
"duration": 1,
"id": 1,
"isCompletedByEmployee": true,
"status": 0,
"taskDateTime": "example",
"timeSpecific": true,
"title": "example"
}
]
}List locations
List locations from AgencyZoom.
Inputs
None.
Outputs
datalist- The response from AgencyZoom.
Example output
{
"data": [
{
"id": "example",
"name": "example"
}
]
}List pipelines and stages
List pipelines and stages from AgencyZoom.
Inputs
- Type
typetext - Pipeline typeOne of:
lead,service.
Outputs
datalist- The response from AgencyZoom.
Example output
{
"data": [
{
"id": 1,
"name": "example",
"seq": 1,
"stages": [
{
"id": 1,
"name": "example",
"seq": 1,
"status": 1
}
],
"status": 1,
"type": "example"
}
]
}List service categories
List service categories from AgencyZoom.
Inputs
None.
Outputs
datalist- The response from AgencyZoom.
Example output
{
"data": [
{
"id": 1,
"name": "example"
}
]
}List tags
List tags from AgencyZoom.
Inputs
None.
Outputs
dataobject- The response from AgencyZoom.
Example output
{
"data": {
"tags": [
{
"id": 1,
"name": "example"
}
]
}
}Search customers
Search customers from AgencyZoom.
Inputs
- Page size
page_sizenumber - Page size: number of results returned. The maximum is 100Default:
20. - Page
pagenumber - The page being returned. Start with 0Default:
0. - Sort
sorttext - Field name used for sorting
- Order
ordertext - Order.One of:
asc,desc. - Location
locationtext - Unique identifier of the customer's location. Often used to filter customers within a specific branch.
- State
statetext - Two-letter abbreviation of the U.S. state where the customer resides, e.g., 'CA' for California or 'TX' for Texas. Used to filter customers by state.
- City
citytext - The name of the city where the customer is located.
- Email
emailtext - The customer's email address.
- Phone
phonetext - The customer's phone number.
- Start date
start_datetext - The starting date for filtering customers by their creation date. Must be in ISO 8601 format, e.g., '2024-01-01'.
- End date
end_datetext - The end date for filtering customers by their creation date. Must be in ISO 8601 format, e.g., '2024-12-31'.
- Lead source
lead_source_idnumber - The ID of the lead source that brought in the customer. Used for filtering by specific marketing or acquisition channels.
- Firstname
firstnametext - The customer's first name. Supports partial match filtering for flexible searches.
- Lastname
lastnametext - The customer's last name. Supports partial match filtering for flexible searches.
- Full name
full_nametext - Full name
- Policy type
policy_typenumber - The ID of the policy type associated with the customer.
- Standard product line code
standard_product_line_codetext - The standard code of the policy type. Applicable only to enterprise users.
- Policy number
policy_numbertext - The policy number to search for. Searches both written policies and AMS-synced policies.
- Agent
agent_idnumber - The unique identifier of the agent assigned to the policy.
- Status
statusnumber - The status of the customer: 1 for active, 0 for inactive, and -1 for all. The default is -1 if no filter is applied
Outputs
dataobject- The response from AgencyZoom.
Example output
{
"data": {
"customers": [
{
"businessName": "example",
"city": "example",
"country": "example",
"email": "example",
"firstname": "example",
"id": 1,
"lastname": "example",
"middlename": "example",
"phone": "example",
"secondaryEmail": "example",
"secondaryPhone": "example",
"state": "example",
"streetAddress": "example",
"zip": "example"
}
],
"page": 1,
"pageSize": 1,
"totalCount": 1
}
}Search leads
Search leads from AgencyZoom.
Inputs
- Page size
page_sizenumber - Page size: number of results returned. The maximum is 100Default:
20. - Page
pagenumber - The page being returned. Start with 0Default:
0. - Sort
sorttext - Field name used for sorting, not in enum, or empty, default value is lastEnterStageDateOne of:
firstname,lastname,lastEnterStageDate,lastActivityDate. Default:lastEnterStageDate. - Order
ordertext - Order.One of:
asc,desc. - Location
locationtext - Location ID
- ID
idnumber - Unique identifier for the lead record
- Assigned to
assigned_tonumber - Unique identifier of the agent assigned to the lead
- Creator
creatornumber - Unique identifier of the agent who created the lead
- Status
statusnumber - Current status of the lead (0: NEW, 1: QUOTED, 2: WON, 3: LOST, 4: CONTACTED, 5: EXPIRED)One of:
0,1,2,3,4,5. - Lead source
lead_source_idnumber - Unique identifier of the lead source
- Customer name
customer_nametext - Customer name for prefix-based search matching
- Customer email
customer_emailtext - Customer email address for prefix-based search matching
- Customer phone
customer_phonetext - Customer phone number for prefix-based search matching
- Customer phone list
customer_phone_listlist - Array of phone numbers for exact matching against lead records
- Start date
start_datetext - Start date for lead creation date range filter (YYYY-MM-DD format)
- End date
end_datetext - End date for lead creation date range filter (YYYY-MM-DD format)
- Sold period
sold_periodtext - Predefined date range for sold leads (today, yesterday, thisweek, lastweek, lastmonth, mtd, qtd, ytd, or custom range YYYY-MM-DD|YYYY-MM-DD)One of:
today,yesterday,mtd,lastmonth,ytd,lastyear. - Pipeline workflow ID
pipeline_workflow_idnumber - Unique identifier of the workflow associated with the lead
- Workflow stage ID
workflow_stage_idtext - Workflow stage identifier(s) for filtering leads by stage (supports multiple stages separated by '/',like stg2/stg3/stg5)
- Last activity earliest date
last_activity_earliest_datetext - Earliest date for last activity filter (YYYY-MM-DD format)
- Last activity latest date
last_activity_latest_datetext - Latest date for last activity filter (YYYY-MM-DD format)
Outputs
dataobject- The response from AgencyZoom.
Example output
{
"data": {
"leads": [
{
"city": "example",
"country": "example",
"email": "example",
"firstname": "example",
"id": 1,
"lastname": "example",
"leadType": "example",
"middlename": "example",
"phone": "example",
"secondaryEmail": "example",
"secondaryPhone": "example",
"state": "example",
"status": 0,
"streetAddress": "example"
}
],
"page": 1,
"pageSize": 1,
"quoteAmount": 1,
"totalCount": 1
}
}Search service requests
Search service requests from AgencyZoom.
Inputs
- Page size
page_sizenumber - Page size: number of results returned. The maximum is 100Default:
20. - Page
pagenumber - The page being returned. Start with 0Default:
0. - Sort
sorttext - Field name used for sorting
- Order
ordertext - Order.One of:
asc,desc. - Location
locationtext - Location ID
- Full name
full_nametext - Name of a household
- Status
statusnumber - Service ticket status
- Category
categorynumber - Service ticket category
- Priority
prioritynumber - Service ticket priority
- Resolution
resolutiontext - The id of service ticket resolution
- Complete start
complete_starttext - The complete start date of a service ticket
- Complete end
complete_endtext - The complete end date of a service ticket
- Complete period
complete_periodtext - The complete priorid
- Create start
create_starttext - The create start date of a service ticket
- Create end
create_endtext - The create end date of a service ticket
- Create period
create_periodtext - The complete priorid
- Timezone
timezonetext - The timezone of agency
- Pipeline workflow ID
pipeline_workflow_idnumber - The id of Pipeline
- Workflow stage ID
workflow_stage_idnumber - The id of stage
- Tags
tagstext - The id of tags
- Service ticket IDS
service_ticket_idslist - Service ticket Ids
- Policy type
policy_typelist - The ids of policy type. Optional if standardProductLineCodes is provided.
- Standard product line codes
standard_product_line_codeslist - The standard codes of policy type.
- Carrier
carrierlist - The ids of carrier. Optional if standardCarrierCodes is provided.
- Standard carrier codes
standard_carrier_codeslist - The standard codes of carrier.
- Policy number
policy_numbertext - The policy number to search for. Searches both written policies and AMS-synced policies.
Outputs
dataobject- The response from AgencyZoom.
Example output
{
"data": {
"page": 1,
"pageSize": 1,
"serviceTickets": [
{
"agencyId": 1,
"createDate": "example",
"csr": 1,
"email": "example",
"enrolled": 1,
"enterStageTS": 1,
"householdId": 1,
"id": 1,
"name": "example",
"status": 1,
"statusDesc": "example",
"subject": "example",
"workflowId": 1,
"workflowStageId": 1
}
],
"totalCount": 1
}
}Search tasks
Search tasks from AgencyZoom.
Inputs
- Page size
page_sizenumber - Page size: number of results returned. The maximum is 200Default:
20. - Page
pagenumber - The page being returned. Start with 0Default:
0. - Sort
sorttext - Field name used for sorting
- Order
ordertext - Order.One of:
asc,desc. - Location
locationtext - Location ID
- Start date
start_datetext - Start date of task created
- End date
end_datetext - End date of task created
- Type
typetext - Task typeOne of:
sales,onboarding. - Assignee
assignee_idnumber - Assignee ID
- Life professional ID
life_professional_idnumber - ID of Life & Health Professional
- Status
statusnumber - Task status. 0 - open, 1 - completedOne of:
0,1. - Period
periodtext - Predefined periodOne of:
past-due-rotting,past-due,remainder-week,next-week,today. - Lead source category ID
lead_source_category_idnumber - LeadSource category id
- Lead source
lead_source_idnumber - LeadSource id
Outputs
dataobject- The response from AgencyZoom.
Example output
{
"data": {
"outstandingCount": 1,
"page": 1,
"pageSize": 1,
"tasks": [
{
"assignedDate": "example",
"assignees": [
{}
],
"comments": "example",
"completeDate": "example",
"completedBy": 1,
"createDate": "example",
"dueDate": "example",
"duration": 1,
"id": 1,
"isCompletedByEmployee": true,
"status": 0,
"taskDateTime": "example",
"timeSpecific": true,
"title": "example"
}
],
"totalCount": 1
}
}