Skip to content
This site is under heavy WIP, so contributions on GitHub are much appreciated! You've most likely been pointed to this site to point towards a concept, or something. Either way, take at least some of the info on this page with a grain of salt, and also don't expect much info since it's very incomplete on content.

Handling actions from Neuro

Action commands from Neuro, whether forced or voluntary, have the following structure:

{
"command": "action",
"data": {
"id": string,
"name": string,
"data"?: string
}
}
  • id - a string that identifies this specific execution. You’ll need to use this ID when returning an action result.
  • name - the name of the action Neuro wants to execute. During action forces, this will influence whether or not Neuro retries the entire action force.
  • data - If the action has a schema attached, this field contains the data to fulfill the schema.
  • You should be able to handle an action being sent the moment you unregister that action.
  • Neuro will be waiting for the action result before sending another action. For that reason, action results should be about validation, not actual results. See more at the action result page