AutoInput Task to send a Whatsapp message 2018-05-10

Use a simple URL to start a message and AutoInput to click on the Send button

  1. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    joaomgcd submitted a new AutoApps project:

    Task to send a Whatsapp message - Use a simple URL to start a message and AutoInput to click on the Send button

    Read more about this project...
     
    SolyomLaszlo and divyanshadwani1 like this.
  2. divyanshadwani1

    divyanshadwani1 New Member

    Joined:
    Mar 11, 2018
    Messages:
    14
    Likes Received:
    0
    Thank you so much!

    Sent from my SM-J210F using Tapatalk
     
  3. Miguel Quental

    Miguel Quental New Member

    Joined:
    May 10, 2018
    Messages:
    1
    Likes Received:
    0
    Is there any difference between this method and the Touchless Chat plugin SendMessage action?
     
  4. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    This is maybe a bit faster :)
     
  5. TommyTwoPuds

    TommyTwoPuds New Member

    Joined:
    Dec 28, 2016
    Messages:
    5
    Likes Received:
    0
    Works nicely, only not (for me) when the screen is off/locked. It populates the message field but the send button just doesn't get clicked. An AutoInput action error "Action timed out" is all I get.

    I have other AutoInput tasks that work with the screen off/locked so any idea why this one won't?
     
  6. daman

    daman New Member

    Joined:
    May 12, 2018
    Messages:
    3
    Likes Received:
    0
    There is a small problem here. It works fine if the phone number has WhatsApp account but when the phone number doesn't have an account, WhatsApp shows a box with a button "OK". Currently, the task stops at that point. Can you add the code to set a variable to 1 OR 0 (or something like that) that can be used to check if the number is a valid WhatsApp account?
     
  7. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    AutoInput can't click on stuff when the screen is off, sorry!

    About the problem when the user is not on whatsapp, have you tried checking with AutoInput UI Query?
     
  8. daman

    daman New Member

    Joined:
    May 12, 2018
    Messages:
    3
    Likes Received:
    0
    Yes, just fixed that with AutoInput UI Query, Thanks!

     
  9. Prodeo

    Prodeo New Member

    Joined:
    May 18, 2018
    Messages:
    1
    Likes Received:
    0
    Hi Joao,
    How about sending message to whatsapp group? Can you manage that?
     
  10. daman

    daman New Member

    Joined:
    May 12, 2018
    Messages:
    3
    Likes Received:
    0
    There is one problem I've encountered since I began using this task. I've been calling this task based on Join's push notification event. What happens is, sometimes, when the join push is received, the task doesn't wake the screen while other times, it just works. I'm not sure but Is it related to collision handling? I've had the default setting set it "Abort New Task" set and Tasker was having this issue very frequently, after changing it to "Abort Existing Task", it has improved but still it occurs once in a while and cause this issue (I've disabled the lock screen and the device OS is Android 6.x). Any clue what could be the culprit?
     
  11. Nick sarda

    Nick sarda New Member

    Joined:
    Jun 2, 2018
    Messages:
    1
    Likes Received:
    0
  12. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    It seems that Whatsapp wasn't open when AutoInput tried to click it?
     
  13. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    Not that I know of, sorry!
     
  14. nirmelamoud

    nirmelamoud New Member

    Joined:
    Apr 21, 2019
    Messages:
    15
    Likes Received:
    0
    Is there a way to check if a number appears in whatsapp contacts?
     
  15. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    Sorry, not sure what you mean. Can you rephrase that?
     
  16. sach.ak

    sach.ak New Member

    Joined:
    Jul 30, 2019
    Messages:
    1
    Likes Received:
    0
    What is meant by Using a simple URL? Can you please send a screenshot of the actual Whatsapp message task.
     
  17. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    Did you import the attached task?
     
  18. Claudio Ferreira Borges

    Claudio Ferreira Borges New Member

    Joined:
    Jul 20, 2018
    Messages:
    2
    Likes Received:
    0
  19. Saleem Sadruddin

    Saleem Sadruddin New Member

    Joined:
    Mar 8, 2020
    Messages:
    2
    Likes Received:
    0
    Hi
    Is it possible to send this to a group?
    This will change whole of new world
    WhatsApp business allow sending message to groups
     
  20. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    Not sure. Maybe there's a Whatsapp intent for that?
     

Share This Page