Can't send outbound WhatsApp messages to numbers not in allowFrom list
Hey! I'm having trouble with outbound WhatsApp messaging.
What I want to do:
- Send messages TO a new phone number (not in my allowlist)
- I don't necessarily need to receive messages FROM them
Current config:
json
"whatsapp": {
"dmPolicy": "allowlist",
"outboundPolicy": "open",
"selfChatMode": true,
"allowFrom": ["+1"],
"groupPolicy": "allowlist",
"mediaMaxMb": 50
}
...
"allowTo":["+2"]
What I've tried:
- Adding the number to allowFrom - in this case it works but the user can talk to the bot and I don't want this.
- Adding "outboundPolicy": "open"
- Adding "allowTo" field
Is there a config option to allow sending outbound messages to numbers outside the current conversation context?
Thanks!
