--- title: "How Can I Configure Workflow Using Phone Status Evaluation" slug: "how-can-i-configure-workflow-using-phone-status-evaluation" updated: 2026-01-26T15:01:56Z published: 2026-01-26T15:01:56Z canonical: "docs.interprose.com/how-can-i-configure-workflow-using-phone-status-evaluation" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.interprose.com/llms.txt > Use this file to discover all available pages before exploring further. # How Can I Configure Workflow Using Phone Status Evaluation ## How Can I Use Phone Status Evaluation? Phone Status Rules in conjunction with Triggered Action Path workflow can be used to automate the identification and flagging of accounts needing phone number enrichment. This article will provide workflow based on the example Phone Status Evaluation highlighted in the article [How to Configure Phone Status Evaluation](/v1/docs/how-to-configure-phone-status-evaluation). Note Each customer may use phone call results and phone status differently. Therefore a customer may need to configure their application differently to accommodate their individual needs. ### **Process Overview** Here is one example of how this type of workflow can be configured: 1. **Set up a Phone Status Evaluation Rule:** Define rules that evaluate phone call results and set specific statuses based on predefined criteria. 2. **Configure Workflow Behavior:** Establish the workflow to determine appropriate actions following a change in phone status as per the rule. Optional components such as Logic Blocks, Triggers, and Jobs can be developed for customization. 3. **Desired Behaviors:** - Phone call results are logged via Dialer Call Results/Agents, triggering the Phone Status Rule evaluation. - If the specified conditions are met, the Phone Status Rule assigns a particular status. - The Trigger is activated upon status change, initiating the Action Path. - The Action Path assesses accounts based on predefined logic. - If the conditions are met, the Action Path sets the enrichment flag. - Enrichment jobs are executed for exporting and importing data. ![](https://cdn.document360.io/6c7303ca-5ffc-4149-8868-8ea498eee635/Images/Documentation/Screenshot%202023-10-03%20121831.png?sv=2026-02-06&spr=https&st=2026-10-31T15%3A36%3A07Z&se=2026-10-31T16%3A36%3A07Z&sr=c&sp=r&sig=iEI12mF8Z9PLoXvoaZY44oqe9xk0IC6VFkrnitTPxz0%3D) Image Demonstrates Desired Behaviors From Workflow ## Creating Logic Blocks for Phone Status Evaluation Setting up Logic Blocks is a pivotal step in setting up your Phone Status Evaluation workflow. These Logic Blocks act as filters, allowing you to process data based on Phone Status results. For additional guidance on creating Logic Blocks, please refer to [Building Logic Blocks](/v1/docs/building-logic-blocks). ### Example Logic Blocks: **1. Identifying** **Eligible Accounts for Enrichment** ```CustomSQL AND demographic_phone.debt_id = debt.debt_id AND demographic_phone.status NOT IN ('ACTIVE','NEW','VERIFIED','DO_NOT_CALL','DO_NOT_CONTACT') ``` **2. Identify accounts Not Eligible for Phone Enrichment** ```CustomSQL AND demographic_phone.debt_id = debt.debt_id AND demographic_phone.status IN ('ACTIVE','NEW','VERIFIED') ``` ### Adding Custom SQL to Logic Blocks 1. Click on the **Custom** Header section of the Logic Block. 2. In the **Custom From** Section, enter demographic_phone. 3. In the **Custom SQL** Section, paste the respective custom SQL for the Logic Block. ![](https://cdn.document360.io/6c7303ca-5ffc-4149-8868-8ea498eee635/Images/Documentation/Screenshot%202023-10-04%20131817.png?sv=2026-02-06&spr=https&st=2026-10-31T15%3A36%3A07Z&se=2026-10-31T16%3A36%3A07Z&sr=c&sp=r&sig=iEI12mF8Z9PLoXvoaZY44oqe9xk0IC6VFkrnitTPxz0%3D) Image Displays Adding Custom SQL to Logic Blocks Note These Logic Blocks are designed to differentiate between accounts with multiple phone numbers and different statuses, a crucial step in the enrichment process. - Accounts with a mix of statuses like "EXHAUSTED" and "NEW" are *excluded* from enrichment. - Accounts with all phone numbers marked as "EXHAUSTED" are *flagged* for enrichment. ## Configuring the Remaining Workflow After creating your Logic Blocks, the next critical step involves configuring the remaining aspects of your Phone Status Evaluation workflow. Here’s a breakdown of the essential configuration steps: - Set Up Triggers: Use onAfterDemographicPhoneStatus to flag accounts for enrichment, removal, or addition to a worklist based on the identified Phone Status. - Create Action Paths: Design Action Paths to direct the workflow's actions in response to triggered events. Action Paths enable you to execute various tasks based on the outcomes of Logic Blocks and other conditions. Refer to [Creating an Action Path](/v1/docs/creating-an-action-path) for guidance. - Enrichment Job: Export and import data for enrichment. an event that initiates an Action Path Ex: if a deceased record is created and the onAfterDeceasedInsert Trigger is active, the Action Path associated with the Trigger will be initiated. it is possible for the flow actions in one Action Path to result in other Triggers that initiate other Action Paths. Ex: if the Action Path associated with the onAfterDeceasedInsert Trigger sets the status code of an account to "DEC", the onAfterStatusCodeGroupChange trigger may initiate another Action Path