What the model is told
Look up a Trello card by its id to see its name, the list it is in (idList), whether it is closed and its due date. Tell the customer the progress in plain words. Match idList to a list name using your instructions.
Request
GEThttps://api.trello.com/1/cards/{{cardId}}?key=YOUR_TRELLO_API_KEY&token=YOUR_TRELLO_TOKEN&fields=name,idList,closed,due,dueComplete
Headers
None.
Parameters
cardId stringThe id of the Trello card.
Engage payload
{
"source": "VOICE_AI",
"tool": {
"id": "e11354fc-d62b-4889-935e-50c2959f8d4b",
"type": "HTTP_REQUEST",
"label": "Get Trello Card Status",
"name": "get_trello_card_status",
"customName": false,
"description": "Look up a Trello card by its id to see its name, the list it is in (idList), whether it is closed and its due date. Tell the customer the progress in plain words. Match idList to a list name using your instructions.",
"parameters": [
{
"name": "cardId",
"type": "string",
"description": "The id of the Trello card."
}
],
"config": {
"endpoint": {
"method": "GET",
"url": "https://api.trello.com/1/cards/{{cardId}}?key=YOUR_TRELLO_API_KEY&token=YOUR_TRELLO_TOKEN&fields=name,idList,closed,due,dueComplete"
},
"headers": [],
"body": null,
"timeout": null
}
}
}IDs are regenerated on every copy.