URL-encode / decode string
The URL-encode / decode robot encodes a string for safe use in a URL or decodes it back inside Bitrix24 (Alaio) business processes and robots. The encode mode turns spaces into "+", encode_raw encodes per RFC 3986 (space becomes %20), and decode and decode_raw perform the reverse. It returns the ready string in the result field for the next step of the process.
The robot converts an arbitrary string into a URL-safe form and back, so you can drop it into links, query parameters and webhooks without escaping by hand. The encode mode (default) applies the standard application/x-www-form-urlencoded encoding: spaces become "+" and special characters become %XX. The encode_raw mode encodes per RFC 3986, where a space becomes %20 — needed for URL paths and components. The decode and decode_raw modes do the reverse. Typical cases: build a link with UTM tags from deal values, pass a contact name or address in a webhook GET parameter, or correctly parse an incoming encoded string. It returns the result in the Result field, which feeds the next step of the business process.
What input parameters does the robot accept?
| Parameter | Type | Required? | Default |
|---|---|---|---|
| String | string | yes | |
| Mode: encode (default) / decode / encode_raw (RFC 3986) | string | — |
What does the robot return?
| Parameter | Type |
|---|---|
| Result | string |
Scenario: building a link with parameters from deal fields
- The business process takes a company name with special characters
- The robot in encode_raw mode encodes it for the URL
- The ready string is placed into a webhook address or an email