# sib_conversations.postconversationsmessages: Brevo Package for Conversations operations that could not be mapped to a table.
sib_conversations.postconversationsmessages: Brevo Package for Conversations operations that could not be mapped to a table.
Send a message as an agent to an existing visitor's conversation. You must provide either `agentId` alone, or all three of `agentEmail` + `agentName` + `receivedFrom` to identify the agent.Parameters of Procedure
The following parameters can be used to control the behaviour of the procedure `sib_conversations.postconversationsmessages`. A value must be provided at all times for required parameters, but optional parameters in general do not need to have a value and the execution will default to a pre-defined behaviour. Values can be specified by position and by name. In both cases, all parameters not specified will be evaluated using their default values.
Value specification by position is done by listing all values from the first to the last needed value. For example: a `begin package.procedure(value1, value2, value3); end` on a procedure with four parameters will use the default value for the fourth parameter and the specified values for the first three.
Value specification by name is done by listing all values that require a value. For example with `begin package.procedure(name1 => value1, name3 => value3); end` on the same procedure will use the default values for the second and fourth parameters and the specified values for the first and third.
| Name | Data Type | Required | Default Value | Documentation |
|---|:---:|:---:|:---:|---|
| `agentEmail` | `string` | ☐ | | Agent's email address. When sending messages from a standalone system, it's hard to maintain a 1-to-1 relationship between the users of both systems. In this case, an agent can be specified by their email address. |
| `agentId` | `string` | ☐ | | Agent ID. It can be found on the agent's page or received <a href="https://developers.brevo.com/docs/conversations-webhooks">from a webhook</a>. Alternatively, you can use `agentEmail` + `agentName` + `receivedFrom` instead (all 3 fields required). |
| `agentName` | `string` | ☐ | | Agent's name. |
| `receivedFrom` | `string` | ☐ | | Mark your messages to distinguish messages created by you from the others. |
| `text` | `string` | ☑ | | Message text. |
| `visitorId` | `string` | ☑ | | Visitor's ID received <a href="https://developers.brevo.com/docs/conversations-webhooks">from a webhook</a> or generated by you to <a href="https://developers.brevo.com/docs/customize-the-widget#identifying-existing-users">bind an existing user account to Conversations</a>. |