CKit icon

CKit

Interact with Chatbot Kit API

Actions17

Intent → Intent

AI-generated

Summary

Record intent code/explanation/examples into advisor memory, or return a matched intentSelected/executeAction message when intentCode aligns with input payload or stored runAction.

Inputs

  • intentCode — Code of the intent
  • intentExplanation — Text to llm prompt
  • examples — Add example of the intent

Output shape

array of data rows

If input type is 'intentSelected' and intentCode matches input.payload.intent, returns a record with json.payload.type 'intentSelected' containing refCliente, mainUuid, intent, uuidIntentRun. If input type is 'executeAction' and intentCode matches stored runAction.intent, returns a record with json.payload.type 'executeAction' (empty payload). Otherwise returns an empty array.

Examples

Example 1: queryAdvisor

Pushes intent metadata into the chatbot's advisor memory without immediate message return.

Example 2: intentSelected match

When intentCode matches the user's selected intent, returns a standardized intentSelected message payload.

Links

Discussion