You cannot both have Keyboard Maestro process “%Variable%Mobile%” and yet not process “%0A%”. They are both tokens.
There are a number of ways you can resolve this.
- You could double every % in the text that is meant to just be a percent character. So “…&"%%0A%%0A"…”. Make sure you get all of them, including the “%20”.
- You could build the variable up in multiple parts, some of which process tokens and some of which do not. For example:
- Set Variable URL to text “hxxps://wa.me/91"&” (processing nothing)
- Append to Variable URL with text “%Variable%Mobile%” (processing normally)
- Append to Variable URL with text “& "?text=Dear%20…” (processing nothing)
There are lots of other ways, but whatever way you choose you have to handle the percent character appropriately, processing them or quoting them by doubling them or stopping them from being processed.