How to send data to tasker using KLWP Flow Send data?

I try to trigger Tasker task using button that trigger KLWP Flow Send Data,
I put the action name: gamicraft.test and var name: text, also this text variable has value on global variable: helloo.

this event success triggers my intent receive tasker task but how to get this variable?

I flash %text on tasker but not working, flashing %evtprm2 and they said “none”

If I understand what you are saying, Tasker is being triggered, but you cannot read the variable on the Tasker side?
In Tasker, what event are you using for the profile trigger?

This is achieved by having a Formula action directly before the Send Data action in your flow.

Inside the first formula action you place either the text directly inside the entry box or the name of the global variable with the data you wish to send.

The flow will now treat this like a local variable called xdata.

Now, in the Send Data action you must set to Broadcast in the drop down selector, enter the package and action names of the app you’re sending to followed by xdata in the variable name field at the bottom, not the name of your global variable.

I was trying to use the name of a global variable here too but to no avail. The above works fine though. It seems the data needs to be preloaded into the flow first :person_shrugging:t3:

KWLP:

  • Global Variable:
    • var 112
  • Flow:
    • Formula $gv(var)$
    • Send Data Broadcast
      • action name: what tasker should listen for com.klwp.sending (or whatever)
      • package name: net.dinglisch.android.taskerm send to tasker
      • variable name: varname (will send #last in the format of: varname=112)

Tasker:

  • Profile
    • Intent Recieved: com.klwp.sending
  • Task (KLWP_react)
    • Set Variable %varname To %taskervar
    • Flash %taskervar

it seems like Tasker has to use Set Variable to access the sent variable… also note that KLWP does not allow broadcasting of multiple variables in same intent, as it just takes 1 variable name. (so if you wish for more you’ll want to combine multiple variables into 1 string, then split it using tasker)