When creating Zaps you may encounter an error if the formatting of phone numbers you use to match candidates is inconsistent. Follow these steps to configure your Zap to handle variations in phone number country code prefixes, such as switching between +44 and 0.Documentation Index
Fetch the complete documentation index at: https://support.metaview.ai/llms.txt
Use this file to discover all available pages before exploring further.
1. Configure the ‘Find Person by Phone’ Step
- In the Find Person by Phone step, go to the Configure stage.
- In the “If no search results are found” section, set it to Mark “successful”.
2. Add a Path Step
- After the Find Person by Phone step, add a Path step.
3. Set Conditions for the First Path
- In the first path’s conditions set the rule to Only continue if “ID” is “Exists”.
- Under this path, add a step to update your ATS with the candidate’s information.
4. Configure the Second Path (Fallback Rule)
- In the second path, set the rule type to Fallback.
5. Add a Code Step in the Fallback Path
- Under the fallback path, add a Code step.
- For the Action Event, select Run JavaScript.
6. Configure the Code Step
- In the Configure section of the Code step:
-
Set the input data field to include the candidate’s phone number (e.g.,
candidate number). - Enter the following JavaScript code: