32 lines
674 B
JavaScript
32 lines
674 B
JavaScript
|
exports.definition = {
|
||
|
name: "App Action",
|
||
|
event: "app:trigger",
|
||
|
icon: "ri-window-fill",
|
||
|
tagline: "Automation fired from the frontend",
|
||
|
description: "Trigger an automation from an action inside your app",
|
||
|
stepId: "APP",
|
||
|
inputs: {},
|
||
|
schema: {
|
||
|
inputs: {
|
||
|
properties: {
|
||
|
fields: {
|
||
|
type: "object",
|
||
|
customType: "triggerSchema",
|
||
|
title: "Fields",
|
||
|
},
|
||
|
},
|
||
|
required: [],
|
||
|
},
|
||
|
outputs: {
|
||
|
properties: {
|
||
|
fields: {
|
||
|
type: "object",
|
||
|
description: "Fields submitted from the app frontend",
|
||
|
},
|
||
|
},
|
||
|
required: ["fields"],
|
||
|
},
|
||
|
},
|
||
|
type: "TRIGGER",
|
||
|
}
|