KWGT Intent URI and macrodroid

Trying to setup an intent URI to trigger a macro in macrodroid and pass data too.

I can already use KWGT to launch shortcuts to macros, but not with more data at the same time.

Macrodroid ‘receive intent’ setup to have action as ‘triggertask’ and one extra key named ‘datatest’ with a string value. This intent works fine when triggered by a ‘send intent’ macro having been given the same action and extra key.

I tried lots of different ideas taken from online but no joy. The most promising so far is below.

intent:#Intent;package=com.arlosoft.macrodroid;action=triggertask;S.datatest=pumpkin;end

I’ve seen developer examples using android-app:// scheme, but I’m really at a loss as to what I’m doing wrong.