# Post Chatter Message

> Perform Post Chatter Message through Odoo.

Source: [https://genhealth.ai/docs/workflows/integrations/odoo/odoo_post_message](https://genhealth.ai/docs/workflows/integrations/odoo/odoo_post_message)

Integration: [Odoo](https://genhealth.ai/docs/workflows/integrations/odoo.md)

- Handler: `odoo_post_message`

- Connection type: `odoo`

## Inputs

- `model` — Model (expression, required)
  Required literal value or workflow expression.
- `record_id` — Record Id (expression, required)
  Required literal value or workflow expression.
- `body` — Body (textarea, required)
  Required text value.
- `kind` — Kind (select)
  Optional selected identifier or value.
  Default: `"note"`
  Options: Log note (internal, no email) ("note"), Message (emails followers) ("message")
- `partner_ids` — Partner Ids (expression)
  Optional literal value or workflow expression.
- `attachment_ids` — Attachment Ids (expression)
  Optional literal value or workflow expression.

## Outputs

- `message_id` — Message Id
- `record_id` — Record Id
- `success` — Success
- `error` — Error
- `error_name` — Error Name
- `status_code` — Status Code

Output schema completeness: `best_effort_declared`

## Safety

- External effect: `write`
- Confirmation recommended: no
- Retry safe: no
- Dry run supported: no

## Schemas

These schemas are first-pass authoring guidance. Runtime validation remains authoritative.

### Input schema

```json
{
  "type": "object",
  "required": [
    "model",
    "record_id",
    "body"
  ],
  "properties": {
    "body": {
      "type": "string",
      "description": "Required text value.",
      "x-workflow-field-type": "textarea"
    },
    "kind": {
      "enum": [
        "note",
        "message"
      ],
      "type": "string",
      "default": "note",
      "description": "Optional selected identifier or value.",
      "x-workflow-field-type": "select"
    },
    "model": {
      "description": "Required literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "record_id": {
      "description": "Required literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "partner_ids": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "attachment_ids": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    }
  },
  "additionalProperties": false
}
```

### Output schema

```json
{
  "type": "object",
  "properties": {
    "error": {},
    "success": {},
    "record_id": {},
    "error_name": {},
    "message_id": {},
    "status_code": {}
  },
  "additionalProperties": true
}
```
