Get Company Contact Info

This topic provides an overview of the Get Company Contact Info component, and describes its configuration as well as supported connections.

Component introduction

Get Company Contact Info component allows you to query company contacts information, such as contact name, phone number, email address, etc.

You can either specify the company contact directly, or configure expressions to dynamically specify the target company contact. The query results are stored in variables, which can be used as input for subsequent components or for condition evaluation.

Note: If multiple matches are found, the system returns the information of the most recently created company contact.

Component configuration

  1. After adding Internal Data Ops component to a call flow, click Internal Data Ops component to proceed with the configuration.

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

  3. Specify the target company contact using the following filters.

    Filter Description
    Last Name Enter contact's last name, or click to configure an expression.
    First Name Enter contact's first name, or click to configure an expression.
    Email Enter contact's email address, or click to configure an expression.
    Number Enter contact's phone number, or click to configure an expression.
    Note: The system follows the number matching rule (set in Contacts > Company Contacts > Options > Number Match) when searching for company contacts. If Do Not Match is selected, the system performs an exact number match.
    Phonebook Select phonebook(s) to search contacts in these directories.
    Note: If no phonebooks are configured, the system searches across all directories.
    Company Enter keywords from company information.
  4. At the bottom-right corner, click Confirm.

Component variables

When a Get Company Contact Info component is added to a call flow, the system stores company contact information in variables. These variables can be referenced in expression-supported components (such as Condition) to retrieve the contact information and respond accordingly based on the result.

Note: Since Get Company Contact Info component can be added multiple times in a call flow, an index is appended to each component (e.g. Get Company Contact Info 1, Get Company Contact Info 2) based on the order in which the components are added. To retrieve data from the right component, the component variable must contain the corresponding index.
Variable Type Description Example Value
$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) to which the contact belongs. "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"

Component connections

Get Company Contact Info component can be connected to one component, which can be any of the components listed below.

Component Description
Prompt

Prompt component allows you to play audio prompt(s) or a text-to-speech message to callers.

For more information, see Prompt.

Business Hours

Business Hours component allows you to route calls to different destinations based on the time of day.

For more information, see Business Hours.

Menu Menu component allows you to present callers with a set of menu options, and route calls based on the DTMF digit they press.

For more information, see Menu.

User Input

User Input component allows you to collect DTMF digits from callers, typically used with Condition component to evaluate user input and route calls.

For more information, see User Input.

Language

Language component allows you to change the system prompt language for subsequent components in a call flow.

For more information, see Language.

Record Record component allows you to start recording a call upon the caller being connected to another participant, and optionally configure prompts to inform call participants at the start and during the recording. Alternatively, you can use the component to disable call recording for calls that are supposed to be recorded.

For more information, see Record.

Dial by Number

Dial by Number component allows callers to directly dial a number to reach the destination.

For more information, see Dial by Number.

Dial by Name

Dial by Name component is one of the end components to terminate caller's connection to the current call flow. It allows callers to reach extension user by entering the first three letters of the user's name.

For more information, see Dial by Name.

Transfer

Transfer component is one of the end components to terminate caller's connection to the current call flow. It allows you to transfer callers to a designated destination, and optionally configure prompts to inform them of the transfer.

For more information, see Transfer.

Hang Up Call

Hang Up Call component is one of the end components to terminate caller's connection to the current call flow. When callers are routed to the component, the call will be disconnected.

For more information, see Hang Up Call.

Condition Condition component allows routing calls based on logical expressions.

For more information, see Condition.

Loop Loop component allows a group of components to be executed repeatedly, either for a specified number of times or until a condition is met.

For more information, see Loop.

Internal Data Ops Internal Data Ops component allows you to query and update data from PBX-native database.
Email Sender Email Sender component allows you to send emails, enabling real-time notifications, alerts, or delivery of user-specific information.

For more information, see Email Sender.

Database Access Database Access component allows you to interact with database during a call flow. You can execute SQL operations to retrieve or update data as needed.

For more information, see Database Access.

HTTP Request HTTP Request component allows you to send HTTP requests to external web servers, enabling data exchange with third-party services.

For more information, see HTTP Request.