Skip to main content

Kadu Builder

Conversations in which the Kadu Builder maps, builds and publishes the Playbook: messages, Blueprint, plan and cards.

CommandHTTPDescription
builder-conversations listGET /v1/builder_conversationsLists the Kadu Builder conversations
builder-conversations createPOST /v1/builder_conversationsOpens a Kadu Builder conversation
builder-conversations getGET /v1/builder_conversations/{id}Gets a Kadu Builder conversation
builder-conversations messages listGET /v1/builder_conversations/{id}/messagesConversation messages
builder-conversations messages createPOST /v1/builder_conversations/{id}/messagesSends a message to the Kadu Builder
builder-conversations actions confirmPOST /v1/builder_conversations/{id}/actions/{actionId}/confirmDecides a conversation card

Examples​

--params carries query and path parameters (id, page, filters); --json carries the request body; --fields limits the returned fields — worth it on every list/get, to save context. See Global flags for the full reference.

# Opens a Kadu Builder conversation
kobana kadu builder-conversations create --json '{"title": "I want to settle in Fintera the boletos "}'

# Sends a message to the Kadu Builder
kobana kadu builder-conversations messages create \
--params '{"id": "BUILDER_CONVERSATION_ID"}' \
--json '{"text": "I want to settle in Fintera the boletos paid yesterday"}'

# Decides a conversation card
kobana kadu builder-conversations actions confirm \
--params '{"id": "BUILDER_CONVERSATION_ID", "actionId": "CARD_ID"}'

Next steps​