FruxonDocs

Surense

Surense insurance CRM integration for customers, leads, contacts, employers, meetings, workflows, activities, reminders, tasks, documents and call records

The Surense integration connects your agents to the Surense CRM used by Israeli insurance agencies. Agents can find and update customers and leads, schedule meetings, open and advance workflows, log activities, manage reminders, read the work queue, and fetch documents and call records.

Prerequisites

You need:

  • Surense API Client ID and Client Secret — Ask Surense to issue an API client for your agency (see the Surense developer portal). Fruxon exchanges them for a short-lived access token using the OAuth 2.0 client-credentials grant. The scopes Surense grants the client decide which tools work. For example, customers:read is needed to search customers and leads:update to update leads.

Setup

  1. Open Integrations from the sidebar
  2. Select Surense from the catalog
  3. Click Add Integration Config
  4. Give the config a display name (e.g., "Surense")
  5. Enter your Client ID and Client Secret
  6. Save the config. Test checks that Surense accepts the credentials

Using in Your Agent

  1. Open your agent in Agent Studio. Under Model & capabilities → Tools, click Add tool and add the Surense tools you need
  2. On a tool's card, choose your config under Set default credentials. It applies to every Surense tool in the agent; click Override on one tool's card to give it a different config
  3. Tools are referenced as surense.search_customers, surense.create_lead, etc.

Searching

The search tools share one shape. filters is a list of {field, operator, value}: field is a field name from get_entity_fields, and operator is one of equals, notEquals, isAnyOf, isNoneOf, greaterThan, greaterThanOrEqual, lessThan, inRange, notInRange or isEmpty. sorts is a list of {field, dir}. Customer, lead, contact, employer, meeting and workflow searches page by cursor: pass the returned nextCursor back as cursor to get the next page.

Fields with fixed values, such as ID type, gender and marital status, are sent as their Surense integer codes. Each tool's parameter descriptions list the codes.

Available Tools

Lookups

ToolDescriptionAction Type
list_usersList the account's users, for owner, manager, host and assignee IDsReadOnly
list_tagsList every tag in the accountReadOnly
list_customer_statusesList customer statusesReadOnly
list_customer_sourcesList customer sourcesReadOnly
list_customer_classesList customer classesReadOnly
list_lead_statusesList lead statusesReadOnly
list_lead_typesList lead typesReadOnly
list_workflow_statusesList workflow statusesReadOnly
list_workflow_typesList workflow typesReadOnly
list_document_typesList document typesReadOnly
list_product_typesList insurance and savings product typesReadOnly
get_entity_fieldsList the fields search filters and sorts accept for an entityReadOnly

Customers

ToolDescriptionAction Type
search_customersSearch customers with filters and sortsReadOnly
get_customerGet a customer's full recordReadOnly
get_customers_briefResolve up to 50 customer IDs to name, status, class and sourceReadOnly
create_customerCreate a customer identified by an ID numberReversible
update_customerUpdate a customer's detailsReversible
delete_customerDelete a customerIrreversible
list_customer_birthdaysList customers with a birthday today, soon, or recentlyReadOnly
get_customer_portfolioGet a customer's insurance and savings portfolioReadOnly

Leads

ToolDescriptionAction Type
search_leadsSearch leads with filters and sortsReadOnly
get_leadGet a lead's full recordReadOnly
create_leadCreate a lead, matching or creating its customerReversible
update_leadChange a lead's status, assignee, due date or detailsReversible
delete_leadDelete a leadIrreversible

Contacts and Employers

ToolDescriptionAction Type
search_contactsSearch contact peopleReadOnly
create_contactCreate a contact personReversible
update_contactUpdate a contact personReversible
search_employersSearch employersReadOnly
get_employerGet an employer's full recordReadOnly
create_employerCreate an employerReversible
update_employerUpdate an employerReversible

Meetings

ToolDescriptionAction Type
search_meetingsSearch meetingsReadOnly
get_meetingGet a meetingReadOnly
create_meetingSchedule a meeting, optionally inviting the customer and creating a calendar eventIrreversible
update_meetingReschedule a meeting or change its status or detailsReversible
delete_meetingDelete a meetingIrreversible

Workflows

ToolDescriptionAction Type
search_workflowsSearch workflowsReadOnly
get_workflowGet a workflow's full recordReadOnly
create_workflowOpen a workflowReversible
update_workflowChange a workflow's status, assignee, due date, priority or notesReversible
delete_workflowDelete a workflowIrreversible

Activities

ToolDescriptionAction Type
search_activity_logSearch a record's history of activities, emails and callsReadOnly
get_activityGet a logged activityReadOnly
create_activityLog an activity on a customer, lead, workflow, meeting or employerReversible
update_activityReplace an activity's contentReversible

Reminders and Tasks

ToolDescriptionAction Type
search_remindersSearch remindersReadOnly
get_reminderGet a reminderReadOnly
create_reminderCreate a reminderReversible
update_reminderUpdate a reminder or mark it doneReversible
delete_reminderDelete a reminderIrreversible
search_tasksList the work queue: to-do, done or delegated itemsReadOnly
get_taskGet a work-queue itemReadOnly

Documents, Calls, Companies and Products

ToolDescriptionAction Type
search_documentsSearch documentsReadOnly
get_documentGet a document's metadataReadOnly
get_document_urlGet a short-lived download URL for a documentReadOnly
search_call_recordsSearch phone call recordsReadOnly
get_call_recordGet a phone call recordReadOnly
search_companiesSearch insurance and investment companiesReadOnly
search_productsSearch insurance and savings productsReadOnly

On this page