pipe0 · Schema

EffectsRequest

GTM AutomationData EnrichmentMCP ServerAI PlatformLead Routing

Properties

Name Type Description
run_if_all array Run the whole chain only if every check passes; otherwise the run is skipped (status "skipped", reason RunIfAllUnmet). count_rows counts this sheet's rows matching `where` (all rows if omitted) once,
config object
effects array
View JSON Schema on GitHub

JSON Schema

pipe0-com-effects-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/pipe0-com/json-schema/pipe0-com-effects-request-schema.json",
  "title": "EffectsRequest",
  "x-generated": "2026-11-21",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_original/pipe0-com-openapi-openapi.json#/components/schemas/EffectsRequest",
  "type": "object",
  "properties": {
    "run_if_all": {
      "type": "array",
      "items": {
        "oneOf": [
          {
            "type": "object",
            "properties": {
              "target": {
                "type": "string",
                "enum": [
                  "count_rows"
                ]
              },
              "operator": {
                "type": "string",
                "enum": [
                  "eq",
                  "neq",
                  "gt",
                  "gte",
                  "lt",
                  "lte"
                ]
              },
              "value": {
                "type": "integer",
                "minimum": 0
              },
              "where": {
                "type": "object",
                "properties": {
                  "logic": {
                    "type": "string",
                    "enum": [
                      "and",
                      "or"
                    ],
                    "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                  },
                  "conditions": {
                    "type": "array",
                    "items": {
                      "oneOf": [
                        {
                          "type": "object",
                          "properties": {
                            "property": {
                              "type": "string",
                              "enum": [
                                "value"
                              ],
                              "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                            },
                            "field_name": {
                              "type": "string",
                              "minLength": 1,
                              "description": "Name of a field from the input data or produced by another pipe in the payload."
                            },
                            "operator": {
                              "type": "string",
                              "enum": [
                                "eq",
                                "neq",
                                "gt",
                                "gte",
                                "lt",
                                "lte",
                                "contains",
                                "not_contains",
                                "matches",
                                "older_than_days",
                                "within_last_days"
                              ],
                              "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                            },
                            "value": {
                              "anyOf": [
                                {
                                  "type": "number"
                                },
                                {
                                  "type": "string"
                                },
                                {
                                  "type": "boolean"
                                },
                                {
                                  "type": "null"
                                }
                              ],
                              "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                            }
                          },
                          "required": [
                            "property",
                            "field_name",
                            "operator",
                            "value"
                          ]
                        },
                        {
                          "type": "object",
                          "properties": {
                            "property": {
                              "type": "string",
                              "enum": [
                                "status"
                              ],
                              "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                            },
                            "field_name": {
                              "type": "string",
                              "minLength": 1,
                              "description": "Name of a field from the input data or produced by another pipe in the payload."
                            },
                            "operator": {
                              "type": "string",
                              "enum": [
                                "eq",
                                "neq"
                              ],
                              "description": "Status comparison operator: \"eq\" or \"neq\"."
                            },
                            "value": {
                              "type": "string",
                              "enum": [
                                "failed",
                                "no_result",
                                "completed",
                                "skipped",
                                "pending",
                                "yielded"
                              ],
                              "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                            }
                          },
                          "required": [
                            "property",
                            "field_name",
                            "operator",
                            "value"
                          ]
                        }
                      ]
                    },
                    "minItems": 1,
                    "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                  }
                },
                "required": [
                  "logic",
                  "conditions"
                ],
                "description": "Which rows to count, in the sheet's condition format. Omit to count every row."
              }
            },
            "required": [
              "target",
              "operator",
              "value"
            ]
          }
        ]
      },
      "minItems": 1,
      "description": "Run the whole chain only if every check passes; otherwise the run is skipped (status \"skipped\", reason RunIfAllUnmet). count_rows counts this sheet's rows matching `where` (all rows if omitted) once, before the first effect, and compares the count with operator/value. Pace intake with it: search only while fewer than N rows are still pending. Status \"pending\" = never ran; queued/processing rows are already in progress and do not count. Not the pipe run_if shape. Example: [{ \"target\": \"count_rows\", \"operator\": \"lt\", \"value\": 50, \"where\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"enrollment\", \"operator\": \"eq\", \"value\": \"pending\" }] } }]"
    },
    "config": {
      "type": "object",
      "properties": {
        "diff": {
          "type": "object",
          "properties": {
            "limit": {
              "type": "integer",
              "minimum": 0,
              "maximum": 1000,
              "default": 100,
              "description": "How many per-record diff entries to keep on the result. `counts` stays exact regardless."
            }
          }
        },
        "run_added_rows": {
          "type": "boolean",
          "description": "When true, after this run's effects complete, run the sheet's pipes over exactly the rows the run appended (the contiguous tail). Off by default. Durable on schedules: a scheduled chain that adds rows then enriches them on every fire."
        }
      }
    },
    "effects": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/EffectPayloadSchema"
      },
      "minItems": 1
    }
  },
  "required": [
    "effects"
  ],
  "$defs": {
    "EffectPayloadSchema": {
      "oneOf": [
        {
          "type": "object",
          "properties": {
            "effect_id": {
              "type": "string",
              "enum": [
                "rows:dedupe@1"
              ]
            },
            "connector": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "maxItems": 0
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "selection": {
                  "oneOf": [
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "enum": [
                            "rows"
                          ]
                        },
                        "record_ids": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        }
                      },
                      "required": [
                        "type",
                        "record_ids"
                      ]
                    },
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "enum": [
                            "all"
                          ]
                        }
                      },
                      "required": [
                        "type"
                      ]
                    },
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "enum": [
                            "window"
                          ]
                        },
                        "count": {
                          "type": [
                            "integer",
                            "null"
                          ],
                          "minimum": 1,
                          "description": "Up to N rows — claims fewer if fewer have work. `null` = no upper bound: every actionable row from the cursor to the end of the sheet."
                        },
                        "cursor": {
                          "type": "string",
                          "description": "Opaque resume cursor returned by a prior window response. Omitted ⇒ start at the first actionable row. Rarely set — for schedules the work set itself is the implicit, auto-advancing cursor."
                        }
                      },
                      "required": [
                        "type",
                        "count"
                      ],
                      "description": "The next `count` rows the effect still has work for, in row order. Attempted rows leave the work set, so successive runs auto-advance with no stored offset — on a schedule this drips through a finite list N rows per fire (\"the next 2 leads every day\") until it is exhausted."
                    }
                  ]
                },
                "where": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                },
                "fields": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "field_name": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "field_name"
                    ]
                  },
                  "minItems": 1
                },
                "match": {
                  "type": "string",
                  "default": "all"
                },
                "strategy": {
                  "type": "string",
                  "default": "keep_oldest"
                }
              },
              "required": [
                "fields"
              ]
            }
          },
          "required": [
            "effect_id",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "effect_id": {
              "type": "string",
              "enum": [
                "rows:duplicate@1"
              ]
            },
            "connector": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "maxItems": 0
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "selection": {
                  "oneOf": [
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "enum": [
                            "rows"
                          ]
                        },
                        "record_ids": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        }
                      },
                      "required": [
                        "type",
                        "record_ids"
                      ]
                    },
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "enum": [
                            "all"
                          ]
                        }
                      },
                      "required": [
                        "type"
                      ]
                    },
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "enum": [
                            "window"
                          ]
                        },
                        "count": {
                          "type": [
                            "integer",
                            "null"
                          ],
                          "minimum": 1,
                          "description": "Up to N rows — claims fewer if fewer have work. `null` = no upper bound: every actionable row from the cursor to the end of the sheet."
                        },
                        "cursor": {
                          "type": "string",
                          "description": "Opaque resume cursor returned by a prior window response. Omitted ⇒ start at the first actionable row. Rarely set — for schedules the work set itself is the implicit, auto-advancing cursor."
                        }
                      },
                      "required": [
                        "type",
                        "count"
                      ],
                      "description": "The next `count` rows the effect still has work for, in row order. Attempted rows leave the work set, so successive runs auto-advance with no stored offset — on a schedule this drips through a finite list N rows per fire (\"the next 2 leads every day\") until it is exhausted."
                    }
                  ]
                },
                "where": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              }
            }
          },
          "required": [
            "effect_id",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "effect_id": {
              "type": "string",
              "enum": [
                "rows:enrich@1"
              ]
            },
            "connector": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "maxItems": 0
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "pipes": {
                  "type": "array",
                  "items": {
                    "$ref": "#/$defs/PipePayload"
                  },
  

# --- truncated at 32 KB (2234 KB total) ---
# Full source: https://artifacts.apis.io/pipe0-com/json-schema/pipe0-com-effects-request-schema.json

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/pipe0-com-effects-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.