Skip to main content
Version: 7.0.0

File Structure

Interactor® 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
|- execute.js(optional)
|- 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(optional)

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