Messenger Settings
Introduction
LUCY Awareness supports integration with WhatsApp messaging services to deliver awareness messages and campaign notifications. Three integration options are available:
WhatsApp (by Meta) – Direct integration using Meta’s official WhatsApp Business Cloud API.
WhatsApp (via Messente) – Integration via the third-party Messente messaging platform.
Microsoft Teams - Integration via Entra ID (formerly known as Azure).
Navigate to: Settings > Common System Settings > Messenger Settings
WhatsApp (by Meta)
To begin using WhatsApp with Lucy please contact your Solution Engineer by email.
Direct API integration with Meta’s WhatsApp Business platform.
Prerequisites
A Meta Developer account with a registered app
A verified WhatsApp Business number
Admin access to generate tokens and configure webhooks
Configuration Steps
1. Create a Permanent Token
Go to the Meta App Dashboard
Navigate to Business Settings → System Users
Generate a token and assign the following permissions:
whatsapp_business_messagingwhatsapp_business_managementwhatsapp_business_manage_events
2. Get Your Sender ID
In the API Setup section, locate and copy your Phone Number ID
3. Configure in LUCY
Go to Settings → Common System Settings → Messenger Settings
Select provider: WhatsApp (by Meta)
Paste the token into the Secret Key field
Paste the Phone Number ID into the Sender field
Set a Webhook Token (any secure string)
Click Save

4. Webhook Setup in Meta
In the Meta App Dashboard, go to Webhooks
Select WhatsApp Business Account
Set the Callback URL to:
https://update1.phishing-server.comUse the same Webhook Token as set in LUCY
Enable the messages event
WhatsApp (via Messente)
Integration using Messente’s cloud-based messaging services.
Prerequisites
A registered Messente account
An approved sender name
Configuration Steps
1. Get Messente Credentials
Sign up or log in at messente.com
Navigate to the API Settings section
Copy your Username and API Password
2. Approve a Sender Name
In the Messente dashboard, go to Sender Settings
Click Add New Sender Name
Enter your sender name (e.g., company name)
Submit for approval (typically 1–3 business days)
3. Configure in LUCY
Go to Messenger Settings (under Templates)
Select provider: WhatsApp (via Messente)
Enter your Username, Password, and approved Sender
Click Save

WhatsApp Custom Messages
LUCY supports sending custom WhatsApp messages via Meta's API. This feature requires additional configuration and relies on user interaction.
Message Flow
Custom messages can only be delivered after a recipient replies to an initial Meta-approved lure message. LUCY automatically handles this by first sending the predefined template. Once the recipient replies, your custom message is sent.
Setup Steps
1. Configure Webhook in Meta Dashboard
Go to Meta App Dashboard
Select your LUCY app
Navigate to Webhooks (in the sidebar)
Choose WhatsApp Business Account from the product list
Set:
Callback URL:
https://update1.phishing-server.comVerify Token: Same value as used in LUCY
Click Save
Enable the messages event toggle
Using a Custom Message
Create a new campaign using expert mode.
Go to Scenario Settings and click "New Scenario".
In the Message Template tab set the Type to "Messenger".
Enable Custom Message and enter your message text.
Click Save.
Custom messages are only sent after a recipient responds to the initial message. Some delay may occur between the reply and message delivery.
Using WhatsApp Templates
If you prefer to use a template from Meta you can simply enter the name of the template in the Messate Template settings:

Microsoft Teams
Teams messaging is currently in Beta and is available by request.
For access to this Beta feature, please contact your account manager.
To connect your Lucy workstation to your MS Teams application all you need to do is set up an app registration in Entra ID and connect it to Lucy. General instructions for this can be found here. Keep reading for the required settings to connect an application for Microsoft Teams.
If you already have a connected application, you can skip these steps and simply select the Microsoft Teams checkbox in the azure application's settings. Go to Settings > Common System Settings > Azure Applications and select the application to view and configure the settings.
App Registration
Support Account Types
Accounts in this organizational directory only (Single Tenant).
Redirect URIs:
In the app registration menu use a Web URI like so: https://yourlucyURL.tld/oauth .
After registration, create a second Single Page Application redirect URI with the same URL.
Application ID, Tenant ID, and Secret
Create a new Secret and then copy all 3 values.
Connect to Lucy
Note on who can send Teams messages
It is important to note that the only account that will be authorized to send messages in your Teams application is the account that performs the app authorization.
No other senders will be able to message your recipients in Teams.
Go to Settings > Common System Settings > Azure Applications and create a new application. Give it a name and a Client, then select the Microsoft Teams checkbox. Paste the application ID, tenant ID, and secret, then click Save.
Note on who can send Teams messages
It is important to note that the only account that will be authorized to send messages in your Teams application is the account that performs the app authorization at the end of this step. No other senders will be able to message your recipients in Teams.
Here is a brief overview of the permissions required by the application:
User.Read
Delegated
Allows the app to sign in and read the profile of the signed-in user.
Chat.Create
Delegated
Allows the app to create new one-on-one or group chats on behalf of the signed-in user.
ChatMessage.Send
Delegated
Allows the app to send messages in any chat that the signed-in user has access to.
Chat.ReadWrite
Delegated
Allows the app to read and write all chats the signed-in user can access, including sending messages, editing, and deleting messages.
openid
Delegated
Required for OpenID Connect authentication to identify the signed-in user.
Set Microsoft Teams as your message provider
After saving and authorizing the app, go to Settings > Common System Settings > Messenger Settings. Select Microsoft Teams as the provider and select the azure application you configured in the last step.
Click Save and you are now ready to use Microsoft Teams in your campaigns. For assistance designing and executing Teams campaigns please contact your Solution Engineer.
Last updated
Was this helpful?