---
sourceDocument: Australia Conversational Interfaces
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/de-DE/conversational-interfaces

 Release :

    - australia

ft:locale :

    - de-DE

ft:publication_title :

    - Australia Conversational Interfaces

ft:clusterId :

    - convint

bundleId :

    - convint

workflow :

    - Platform


---

# Validate recipient IDs

# Validate recipient IDs for agent-initiated messages {#ariaid-title1}

* Freigeben Version: Australia
* 
* Aktualisiert 12. März 2026
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 Minute Lesedauer

Use scripted extension points to call custom scripts for validating the format of a
recipient ID associated with a messaging channel.

## Vorbereitungen

Install the Agent-Initiated Messaging Interface application. For more information, see [Install agent-initiated messaging interface](https://servicenow-prod.fluidtopics.net/hlPuZ9APbO42wvNHRqS8dQ "You can install the Agent-Initiated Messaging Interface application (sn_agent_initiated) if you have the admin role. The application installs related ServiceNow Store applications and plugins if they are not already installed.").

Role required: admin

## Warum und wann dieser Vorgang ausgeführt wird

By using extension points, you can easily integrate customizations without having to
alter the base code. You can extend standard base functionality using customized
scripts. For more information, see [Using extension points to
extend application functionality](https://www.servicenow.com/docs/access?context=extension-points&version=australia&pubname=australia-api-reference&ft:locale=en-US).

## Prozedur

1. Navigate to AllSystem Extension PointsScripted Extension Points.
2. In the API Name column, search for and select global.ChannelSendToValidation.
3. On the Extension Point form, either modify a script include to use the global.ChannelSendToValidation extension point or create and register a custom script include.
   * Create and register a custom script include.
   * Modify the existing script include by going to the Implementations related list and selecting a script include in the Class column.  
     Hinweis:  
     The PhoneNumberValidationExtPointImpl script include that use the global.ChannelSendToValidation extension point is available for validating recipient IDs profiles associated with the [Conversational
     SMS service channel](https://servicenow-prod.fluidtopics.net/DOwof307tFF1NLYbeTpwCQ "Using the Conversational SMS service channel app on the ServiceNow Store, workspace agents can provide support for long-running SMS conversations and conversations that use multiple service channels.") application.
   {#agent-init-messg-validate-recipient__choices_mxh_ght_plb}
4. Associate user profiles for an agent-initiated messages by adding the global.ChannelSendToValidation extension point to the script include.  
   You can create multiple implementations for an extension point and provide an order number for each implementation. The implementation that has the lowest order number is executed first.{#agent-init-messg-validate-recipient__table_czh_m5m_5nb__entry__2}

   | Customization | Implementation |
   |-|-|
   | Associate a channel ID for which the message was initiated | Include the isValid method in the global.ChannelSendToValidation extension point. |
   | Retrieve the recipient ID associated with the channel for which the message was initiated | Include the channelSendToValidation method in the sn_agent_initiated.AgentInitiatedMessagingUserDocument extension point. |
   [ ]

   {#agent-init-messg-validate-recipient__table_czh_m5m_5nb}  
   Hinweis:  
   Based on the channel ID set in the isValid method, the recipient details are retrieved for validating a recipient ID in the channelSendToValidation method.
5. On the Extension Point form, click Update.

