Trello

Add Trello Card Comment

Adds a comment to an existing Trello card.

Unverified

What the model is told

Add a comment to a Trello card using its card id. Use it to record new information from the customer. Tell the customer the note has been added.

Request

POSThttps://api.trello.com/1/cards/{{cardId}}/actions/comments?key=YOUR_TRELLO_API_KEY&token=YOUR_TRELLO_TOKEN

Headers

  • Content-Typeapplication/json

Body

{
  "text": "{{comment}}"
}

Parameters

  • cardId stringThe id of the Trello card.
  • comment stringThe comment text.

Engage payload

{
  "source": "VOICE_AI",
  "tool": {
    "id": "495435e1-be4f-4cda-94c6-fd1e155eadf5",
    "type": "HTTP_REQUEST",
    "label": "Add Trello Card Comment",
    "name": "add_trello_card_comment",
    "customName": false,
    "description": "Add a comment to a Trello card using its card id. Use it to record new information from the customer. Tell the customer the note has been added.",
    "parameters": [
      {
        "name": "cardId",
        "type": "string",
        "description": "The id of the Trello card."
      },
      {
        "name": "comment",
        "type": "string",
        "description": "The comment text."
      }
    ],
    "config": {
      "endpoint": {
        "method": "POST",
        "url": "https://api.trello.com/1/cards/{{cardId}}/actions/comments?key=YOUR_TRELLO_API_KEY&token=YOUR_TRELLO_TOKEN"
      },
      "headers": [
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "body": "{\n  \"text\": \"{{comment}}\"\n}",
      "timeout": null
    }
  }
}

IDs are regenerated on every copy.