Whatsapp send - Not getting phone number

danilo_jlle

New member
Hi.

Just installed Macrodroid and ran into an issue.
I've set a macro to create a reminder for calendar events (1 day before).
I use the phone number to send the message both in event title and event description.
The thing is the action can't retrieve the phone number, so WhatsApp can't locate the contact to send the message.
The error message is: "It was not possible to search the phone number 55test detail because it is too short".
55 is my country code, and I've inserted it into the field followed by {calendar_title} or by {calendar_detail} (tried both individually).

Any help is appreciated.
 

Attachments

  • Captura de tela de 2023-11-29 17-59-58.png
    Captura de tela de 2023-11-29 17-59-58.png
    26.6 KB · Views: 5

danilo_jlle

New member
The field is labeled as:
Input the number here
__________________
Please use the complete number with country code

[not sure if the translaction is correct]
 

Attachments

  • WhatsApp Image 2023-11-29 at 18.31.22.jpeg
    WhatsApp Image 2023-11-29 at 18.31.22.jpeg
    192.6 KB · Views: 9

hsurB

Well-known member
And you are using calendar event as a trigger?
If it doesn't work the way you made it I am pretty sure it can be remade using variables and there won't be any problem.
 

danilo_jlle

New member
And you are using calendar event as a trigger?
If it doesn't work the way you made it I am pretty sure it can be remade using variables and there won't be any problem.
Yep.
Actually I set a trigger to 1 day before (and now tried without that).
Then I run a test for the trigger and got that issue.

I configured a local variable (tried both integer and string) to capture the event detail (or title) and got the same issue: "It was not possible to search the phone number 550(or null if it is set to a string) because it is too short".

I suppose it is not getting the value from the event.

Any idea?
 

Attachments

  • WhatsApp Image 2023-11-29 at 22.53.59.jpeg
    WhatsApp Image 2023-11-29 at 22.53.59.jpeg
    22.1 KB · Views: 4
Last edited:

MacroDroidDev

Administrator
Staff member
Can you show an example of the calendar entry that is triggering the macro. For this to work it wlll need to have the phone number (and only phone number) as the description for the calendar entry.
 

danilo_jlle

New member
Yes.
I've tried putting the number both in the event title and description.
It didn't work.
 

Attachments

  • Captura de tela de 2023-12-04 18-39-19.png
    Captura de tela de 2023-12-04 18-39-19.png
    49.1 KB · Views: 6
Last edited:
Top