Pipes
2024.40 Pipes
2024.40 Pipes
  • Introduction
  • Configuration
  • Valves
    • API
      • HTTP Response Format Valve
    • Debug
      • Dump Request
      • Dump Session
      • Dump State
      • Wait
    • EntraID
      • Create User
      • Get User
      • List Users
      • Add User Groups
    • Flow
      • Flow Fail
      • Flow State Add
      • Assert Value
      • Pipe Exec
      • Pipe Call
    • Item
      • Item Create
      • Item Merge
      • Item Remove
      • Items Remove
      • Item Property Add
      • Item Property Split
      • Item Property Rename
      • Item Property Token Replace
      • MV Property To Items
      • JSON To Items
      • MV Property Join
    • Freja
    • BankID
      • BidOperation
      • BidToItems
    • DateTime
      • Instant Generator
      • Instant Transformer
    • HTTP
      • GET
      • PUT
      • POST
      • DELETE
    • JWT
      • CreateJwt
      • ParseJwt
    • JSON
      • JsonObjectCreate
    • LDAP
      • LDAP Search
      • LDAP Group Filter
      • LDAP Bind
      • LDAP Add
      • LDAP Delete
      • LDAP Modify
      • LDAP Move
      • DN Parse
    • JDBC Query
    • Cef event
    • Request
      • RequestParameterExist
      • RequestParameterRename
    • Session
      • Session Put
      • Session Create
      • CopyFromSession
    • ScriptEval
    • Codecs
      • Base64 Encode
      • Base64 Decode
    • Tokens
      • Token Authentication
    • PKI
      • X509 Certificate Extractor
      • Passcode Generator
      • X509 Certificate Validator
    • Delivery
      • Clean Mobile Valve
      • SMS Valve
      • Voice Valve
      • SMTP Valve
    • OTP
      • OTP Generation
      • OTP Validation
    • Misc
      • Basic Auth
Powered by GitBook
On this page
  1. Valves
  2. Delivery

Clean Mobile Valve

Use this valve to clean up mobile numbers, i.e. remove whitespaces and unwanted characters.

Configuration

Valve name: CleanMobile

Name
Description
Default value
Mandatory
Expanded

src

Source parameter for the mobile number.

"{{{item.mobile}}}"

dest

Destination parameter for the cleaned mobile number.

N/A

recipient_prefix

Prefixes mobile number if it starts with '0'.

"+46"

force_prefix

Always add prefix.

false

remove_leading_plus

Remove +

false

{
    "name": "CleanMobile",
    "enabled": true,
    "config": {
        "src": "{{{session.mobile}}}",
        "dest": "clean_mobile",
        "recipient_prefix": "+45",
        "force_prefix": true,
        "remove_leading_plus": false
    }
}
PreviousDeliveryNextSMS Valve