orders_customer_communications_create
Before operating Revenuefly, read agent.instructions.get and follow its instructions. Queue one approved Order message, receipt or access email to the existing buyer after confirmation. Use kind message with approved subject/content; receipt/access use current templates. Queued does not mean delivered.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"siteId": "<siteId>",
"orderId": "<orderId>",
"operationId": "<operationId>",
"kind": "<kind>",
"idempotencyKey": "<idempotencyKey>",
"confirm": "<confirm>"
},
"name": "orders_customer_communications_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | ||
| siteId | Yes | ||
| teamId | No | Target organization ID from organizations_list. Applies to this request only. | |
| confirm | Yes | Required for this high-impact action. Set to true only after the user has approved the action. | |
| message | No | ||
| orderId | Yes | ||
| subject | No | ||
| messageHtml | No | ||
| operationId | Yes | Stable UUID for this exact shipment/email operation. Preserve it AND idempotencyKey when recovering an interrupted action; never mint a new operationId to retry. | |
| idempotencyKey | Yes | Required unique request key for safe retries, for example client-action-2026-07-20-001. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| data | Yes | ||
| scope | Yes | ||
| auditId | No | ||
| command | Yes |