While using the wrike integration, I’m able to get the permalink to the wrike task. I need the ID at the end to run another automation but for some reason, the Wrike TaskID is not a field in my operation. I want to take the task ID (which is found at the end of the permalink) and send it back into my CRM to update a deal.
Which parts of the text do you want to extract from the link?
If it’s just the digits,
You can use a Text Parser “Match Pattern” module with this regular expression pattern
(?<task_id>\d+)$
For more information, see Text Parser in the Make Help Center:
Match Pattern
The Match pattern module enables you to find and extract string elements matching a search pattern from a given text. The search pattern is a regular expression (aka regex or regexp), which is a sequence of characters in which each character is either a metacharacter, having a special meaning, or a regular character that has a literal meaning.
- The complete list of metacharacters can be found on the MDN web docs website.
- For a tutorial on how to create regular expressions, we recommend the RegexOne website.
- For an easy, quick regex generator, try the Regular Expressions generator.
- For experimenting with regular expressions, we recommend the regular expressions 101 website. Just make sure to tick the ECMAScript (JavaScript) FLAVOR in the left panel.
Hope this helps!
Hey there
you can use set variable module and inside that
use get(split(permalinkVar ; = ) ,2 ) function this will provide you the ID here,
instead of permalinkVar use the actual variable.
In case you didn’t know which Text Parser module to use
This works! Thanks so much