Actions98
- Auto Reply Actions
- Chat Actions
- Contact Actions
- Group Actions
- Label Actions
- Message Actions
- Media Actions
- Notification Actions
- Profile Actions
- Scheduler Actions
- Session Actions
- Status Update Actions
- System Actions
- User Actions
- Webhook Actions
Auto Reply → Create
AI-generatedSummary
Creates an auto-reply rule for the specified WA-AKG session using the provided JSON configuration.
Inputs
- sessionId (required) — The Session ID to use for this request
- autoReplyData (required) — JSON configuration for the auto-reply rule (e.g., {@keyword: 'help', reply: 'Hi!'})
Output shape
object
The response from the WA-AKG API containing the created auto-reply rule details (typically includes the rule ID and the supplied configuration).
Examples
Example 1: Add a help auto-reply
Set sessionId to the active session and autoReplyData to {@keyword: 'help', reply: 'Hi! How can I help you?'} to create a rule that replies with the given message when the keyword 'help' is received.