---
schema_version: "1"
id: d40850a3a122bfdc157b813437c6c3355711311fe15e59add8f74d5a62ed0370
title: Conversation Agent Send
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/lightning-base-components/lightning-design-system/guides/aura/components/lightning/conversationAgentSend/aura-conversation-agent-send.md
canonical_url: https://developer.salesforce.com/docs/platform/lightning-component-reference/guide/aura-conversation-agent-send.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: d2be78e44b7e7a999a8eae7ccf9677053ae54cf996fb09c8f34eb0445b5bd2a1
products:
  - Lightning Component Reference
---
# Conversation Agent Send

**`lightning:conversationAgentSend`**

Indicates an agent sent a message.

**For Use In**

Lightning Experience

::::::tabset{tabs='[ "Develop", "Specifications"]'}

:::::tab

The `lightning:conversationAgentSend` event is triggered when an agent sends a message through the Salesforce console. This event is also triggered when using Enhanced Messaging channels. To work with Enhanced Messaging channels, the session must be active and the Enhanced Conversation Component must be visible on the page.

For more information, see [Events for Chat](https://developer.salesforce.com/docs/atlas.en-us.api_console.meta/api_console/sforce_api_console_lightning_liveagent_events.htm) in the Salesforce Console Developer Guide.


:::::

:::::tab
## Attributes

| Name        | Description                                                                                | Type   | Default | Required                                     |
| ----------- | ------------------------------------------------------------------------------------------ | ------ | ------- | -------------------------------------------- |
| `content`   | The text of a message in the chat log.                                                     | string |         | ![Yes](https://developer.salesforce.com/media/check.png) |
| `name`      | The name of the agent who is attempting to send the message as it appears in the chat log. | string |         | ![Yes](https://developer.salesforce.com/media/check.png) |
| `recordId`  | Record ID of the conversation.                                                             | string |         | ![Yes](https://developer.salesforce.com/media/check.png) |
| `timestamp` | The date and time the agent attempted to send the chat message.                            | date   |         | ![Yes](https://developer.salesforce.com/media/check.png) |
| `type`      | The type of message that was received—for example, agent.                                  | string |         | ![Yes](https://developer.salesforce.com/media/check.png) |

:::::

::::::
