Skip to content

Commit e4c6806

Browse files
authored
Merge pull request #7818 from segmentio/wilwong-twilio-patch-2
Updates to liquid functions example
2 parents 6508635 + c8572d0 commit e4c6806

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/connections/destinations/actions.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ This example converts an email address to lowercase and removes extra whitespace
350350
{% endraw %}
351351
```
352352

353-
Input: `event.properties.email` = "user@example.com"
353+
Input: `event.properties.email` = " User@Example.com "
354354

355355
356356

@@ -378,9 +378,9 @@ This example formats a phone number by removing non-digit characters, adding a c
378378
{% endraw %}
379379
```
380380

381-
Input: `event.properties.phone` = "(123) 456-7890"
381+
Input: `event.properties.phone` = "(234) 567-8901"
382382

383-
Output: +11234567890
383+
Output: +12345678901
384384

385385
Explanation:
386386
* The `assign` tag stores the cleaned phone number after applying `strip` and `remove` filters to eliminate whitespace and non-digit characters (for example, `-`, `(`, `)`).

0 commit comments

Comments
 (0)