---
updatedAt: 2026-10-13T13:58:07.000Z
agentTools:
  projectIndex: https://studio.talkdesk.com/llms.txt
---

# Call Prioritization

You can use a Conditional statement, together with the result of a <Glossary>data dip</Glossary> in Salesforce, to route VIP customers to an assignment node with a higher priority. This way, you can assure that the calls coming from these VIP customers are handled first.

To do this, configure a Salesforce data dip to populate a <Glossary>variable</Glossary> related to VIP contacts when the customer is considered VIP.

You can add the following <Glossary>SOQL</Glossary> query:

```sql SOQL
select VIP__c from contact where name='%{current_flow.name}'
```

Next, configure a Conditional statement with two Assignment and dial exits: one exit for when the contact does not meet the VIP condition, and another exit for when it does.

In the VIP Assignment and dial, you can assign a high priority to these calls by selecting 1 in 'List of priorities':

1 corresponds to the highest priority, while 10 is the lowest priority. This means that you need to select a number higher than 1 in the Assignment and Dial node for Non VIP customers.

![1118](https://files.readme.io/25c2760-Call_prioritization.png "Call prioritization.png")