Get Company Contact Info
The Get Company Contact Info component searches your company contacts during a call and pulls back details such as a contact’s name, phone numbers, and email address. You can name the contact outright or let an expression choose one at run time, and the values it finds are saved to variables that later components can read or branch on.
Configure the component
Section titled “Configure the component”-
Drag an Internal Data Ops component onto the call flow canvas, then click it to open its settings.

-
In the Component Type drop-down list, choose Get Company Contact Info.

-
Narrow down the contact you want with the filters below. For any field, you can type a value directly or click the fx button to build an expression instead.

Filter Description Last Name The contact’s last name. First Name The contact’s first name. Email The contact’s email address. Number The contact’s phone number. The search honors the number matching rule set under Contacts > Company Contacts > Options > Number Match. When that rule is Do Not Match, the component requires an exact number match. Phonebook One or more phonebooks to search within. Leave this empty to search every directory. Company Keywords from the contact’s company information. -
Click Confirm in the bottom-right corner.
Variables
Section titled “Variables”Each time the component runs, the contact details it retrieves are written to variables. Any expression-aware component, Condition, for instance, can read these variables and route the call based on what was found.
| Variable | Type | Description | Example |
|---|---|---|---|
$GetCompanyContactInfo{index}.contactName | String | Contact name. | "Leo Poll" |
$GetCompanyContactInfo{index}.company | String | Company name. | "YS" |
$GetCompanyContactInfo{index}.email | String | Email address. | "leo@ys.com" |
$GetCompanyContactInfo{index}.phonebookList | String | The phonebook(s) the contact belongs to. | "All" |
$GetCompanyContactInfo{index}.remark | String | Remark about the contact. | "remark" |
$GetCompanyContactInfo{index}.business | String | Business number. | "01082345678" |
$GetCompanyContactInfo{index}.business2 | String | Business number. | "02160123456" |
$GetCompanyContactInfo{index}.mobile | String | Mobile number. | "13800001234" |
$GetCompanyContactInfo{index}.mobile2 | String | Mobile number. | "15900005678" |
$GetCompanyContactInfo{index}.home | String | Home number. | "01087654321" |
$GetCompanyContactInfo{index}.home2 | String | Home number. | "075523456789" |
$GetCompanyContactInfo{index}.businessFax | String | Business fax number. | "01082345679" |
$GetCompanyContactInfo{index}.homeFax | String | Home fax number. | "02160123457" |
$GetCompanyContactInfo{index}.other | String | Other phone number. | "4008880000" |
What it can connect to
Section titled “What it can connect to”A Get Company Contact Info component leads to exactly one downstream component. Any of the following can follow it:
| Component | Purpose |
|---|---|
| Prompt | Play an audio file or a text-to-speech message to the caller. |
| Business Hours | Route the call to different destinations depending on the time of day. |
| Menu | Offer callers a set of options and route them by the DTMF (Dual-Tone Multi-Frequency, the tone a phone sends when a key is pressed) key they press. |
| User Input | Collect DTMF digits from the caller, usually paired with Condition to act on what was entered. |
| Language | Change the system prompt language for the rest of the flow. |
| Record | Start recording once the caller connects to another party, with optional notification prompts, or turn recording off for a call that would otherwise be recorded. |
| Dial by Number | Let callers dial a number directly to reach their destination. |
| Dial by Name | An end component that lets callers reach a user by typing the first three letters of their name. |
| Transfer | An end component that sends the caller to a chosen destination, with optional prompts announcing the transfer. |
| Hang Up Call | An end component that disconnects the call. |
| Condition | Route the call based on logical expressions. |
| Loop | Repeat a group of components a set number of times or until a condition is met. |
| Internal Data Ops | Read from and write to the Cloud Voice system’s own database. See Get Extension Presence Status, Set Extension Presence Status, Get Queue Agent, Get Queue Info, Get Agent Status, Set Agent Status, Get System Info, Get System Capacity, Get Extension Info, and Get Company Contact Info. |
| Email Sender | Send an email for real-time notifications, alerts, or user-specific information. |
| Database Access | Run a SQL (Structured Query Language) operation against an external database during the call flow. |
| HTTP Request | Send an HTTP request to an external server to exchange data with a third-party service. |