add property to denote if step can be looped

This commit is contained in:
Peter Clement 2023-05-09 12:04:16 +01:00
parent 7facf0c9ea
commit 9b66b30969
17 changed files with 18 additions and 0 deletions

View File

@ -18,6 +18,7 @@ export const definition: AutomationStepSchema = {
description: "Run a bash script",
type: AutomationStepType.ACTION,
internal: true,
canLoop: true,
stepId: AutomationActionStepId.EXECUTE_BASH,
inputs: {},
schema: {

View File

@ -17,6 +17,7 @@ export const definition: AutomationStepSchema = {
description: "Add a row to your database",
type: AutomationStepType.ACTION,
internal: true,
canLoop: true,
stepId: AutomationActionStepId.CREATE_ROW,
inputs: {},
schema: {

View File

@ -14,6 +14,7 @@ export const definition: AutomationStepSchema = {
description: "Delay the automation until an amount of time has passed",
stepId: AutomationActionStepId.DELAY,
internal: true,
canLoop: false,
inputs: {},
schema: {
inputs: {

View File

@ -18,6 +18,7 @@ export const definition: AutomationStepSchema = {
type: AutomationStepType.ACTION,
stepId: AutomationActionStepId.DELETE_ROW,
internal: true,
canLoop: true,
inputs: {},
schema: {
inputs: {

View File

@ -19,6 +19,7 @@ export const definition: AutomationStepSchema = {
stepId: AutomationActionStepId.discord,
type: AutomationStepType.ACTION,
internal: false,
canLoop: true,
inputs: {},
schema: {
inputs: {

View File

@ -18,6 +18,7 @@ export const definition: AutomationStepSchema = {
type: AutomationStepType.ACTION,
stepId: AutomationActionStepId.EXECUTE_QUERY,
internal: true,
canLoop: true,
inputs: {},
schema: {
inputs: {

View File

@ -19,6 +19,7 @@ export const definition: AutomationStepSchema = {
internal: true,
stepId: AutomationActionStepId.EXECUTE_SCRIPT,
inputs: {},
canLoop: true,
schema: {
inputs: {
properties: {

View File

@ -28,6 +28,7 @@ export const definition: AutomationStepSchema = {
"Conditionally halt automations which do not meet certain conditions",
type: AutomationStepType.LOGIC,
internal: true,
canLoop: false,
stepId: AutomationActionStepId.FILTER,
inputs: {
condition: FilterConditions.EQUAL,

View File

@ -17,6 +17,7 @@ export const definition: AutomationStepSchema = {
stepId: AutomationActionStepId.integromat,
type: AutomationStepType.ACTION,
internal: false,
canLoop: true,
inputs: {},
schema: {
inputs: {

View File

@ -13,6 +13,8 @@ export const definition: AutomationStepSchema = {
description: "Loop",
stepId: AutomationActionStepId.LOOP,
internal: true,
canLoop: false,
inputs: {},
schema: {
inputs: {

View File

@ -32,6 +32,7 @@ export const definition: AutomationStepSchema = {
description: "Send a request of specified method to a URL",
type: AutomationStepType.ACTION,
internal: true,
canLoop: true,
stepId: AutomationActionStepId.OUTGOING_WEBHOOK,
inputs: {
requestMethod: "POST",

View File

@ -42,6 +42,7 @@ export const definition: AutomationStepSchema = {
type: AutomationStepType.ACTION,
stepId: AutomationActionStepId.QUERY_ROWS,
internal: true,
canLoop: true,
inputs: {},
schema: {
inputs: {

View File

@ -15,6 +15,7 @@ export const definition: AutomationStepSchema = {
name: "Send Email (SMTP)",
type: AutomationStepType.ACTION,
internal: true,
canLoop: true,
stepId: AutomationActionStepId.SEND_EMAIL_SMTP,
inputs: {},
schema: {

View File

@ -19,6 +19,7 @@ export const definition: AutomationStepSchema = {
description: "Logs the given text to the server (using console.log)",
type: AutomationStepType.ACTION,
internal: true,
canLoop: true,
stepId: AutomationActionStepId.SERVER_LOG,
inputs: {
text: "",

View File

@ -16,6 +16,7 @@ export const definition: AutomationStepSchema = {
stepId: AutomationActionStepId.slack,
type: AutomationStepType.ACTION,
internal: false,
canLoop: true,
inputs: {},
schema: {
inputs: {

View File

@ -17,6 +17,7 @@ export const definition: AutomationStepSchema = {
description: "Update a row in your database",
type: AutomationStepType.ACTION,
internal: true,
canLoop: true,
stepId: AutomationActionStepId.UPDATE_ROW,
inputs: {},
schema: {

View File

@ -13,6 +13,7 @@ export const definition: AutomationStepSchema = {
stepId: AutomationActionStepId.zapier,
type: AutomationStepType.ACTION,
internal: false,
canLoop: true,
description: "Trigger a Zapier Zap via webhooks",
tagline: "Trigger a Zapier Zap",
icon: "ri-flashlight-line",