Summary
This guide explains how to configure the Send session messages action in Astra. This action allows your Astra AI agent to send one or more predefined messages (text or media) directly within an active WhatsApp session in Wati. Messages are fully defined during setup, ensuring consistent and controlled communication.
Instructions
Follow these steps to configure how messages are sent during a WhatsApp conversation in Wati:
Set up the action
Log into your Astra account.
Go to Action Library.
Select Send a session message Wati action.
Open the Configuration step.
Configure action settings
1. Action intent page
What to do:
Enter a clear action name and intent.
Click Edit action intent to update it anytime.
How it works:
A well-defined intent helps the agent trigger this action at the right moment.
2. Wati account
What to do:
Select the Wati account you want to use.
How it works:
All messages sent through this action will use this selected account.
Before proceeding, make sure your Wati and Astra accounts are connected.
3. Message list
What to do:
Create an ordered list of messages to send.
For each message:
Select a type:
TextImageAudioVideoDocument
Add the content:
Text for text messages
Upload files for media messages
(Optional) Add a caption for media messages
How it works:
When the action runs:
Messages are sent in the exact order you define.
The content is fixed - messages are not generated dynamically at runtime.
This ensures consistency and avoids unexpected outputs.
Preview messages:
Use the preview panel on the right to review how your messages will appear before saving.
When to use this action
Use this action when you want to:
Send predefined responses or instructions
Share media files like images, documents, or videos
Ensure consistent messaging across conversations
Guide customers through a fixed flow (for example, onboarding steps)
This approach helps maintain accuracy and control over what is sent to the customer during a live session.




