Skip to main content
Version: 6.0.3

File Structure

Interactor&reg CLI requires service configurations to be structured as below.

services
|- [service name]
|- action
|- [action name]
|- version
|- [version name]
|- data.json
|- execute.js
|- data.json
|- datatype
|- [datatype name]
|- version
|- [version name]
|- data.json
|- data.json
|- condition
|- [condition name]
|- version
|- [version name]
|- data.json
|- execute.js
|- data.json
|- event
|- [event name]
|- version
|- [version name]
|- data.json
|- response.js(optional)
|- route.js
|- data.json
|- trigger
|- [trigger name]
|- version
|- [version name]
|- create.js
|- data.json
|- delete.js
|- trigger.js
|- data.json
|- version
|- actions.json
|- conditions.json
|- data.json
|- events.json
|- oauth.js(optional)
|- triggers.json
|- data.json
|- .variables

Configuration files (data.json) and logic files require a specific structure.