> ## Documentation Index
> Fetch the complete documentation index at: https://docs-dev.auth0-mintlify.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Update a flow

export const Scopes = ({scopes = []}) => {
  return <div>
      <div class="api-section-heading flex flex-col gap-y-4 w-full">
        <div class="flex items-baseline border-b pb-2.5 border-gray-100 dark:border-gray-800 w-full">
          <h4 class="api-section-heading-title flex-1 mb-0">Scopes</h4>
          <div class="flex items-center"></div>
        </div>
      </div>
      <div class="mt-4">
        <div class="space-y-4 whitespace-normal prose prose-sm prose-gray dark:prose-invert overflow-wrap-anywhere [&_*]:overflow-wrap-anywhere">
          <p class="whitespace-pre-line text-xs">
            {"Scopes define permissions and access levels for API requests and authentication tokens."}
          </p>
        </div>
      </div>
      <div class="flex font-mono text-sm group/param-head param-head break-all relative mt-6" id="scopes-scopes">
        <div class="flex-1 flex flex-col content-start py-0.5 mr-5">
          <div class="flex items-center flex-wrap gap-2">
            <div class="absolute -top-1.5">
              <a href="#scopes-scopes" class="-ml-10 flex items-center opacity-0 border-0 group-hover/param-head:opacity-100 focus:opacity-100 focus:outline-0 py-2 [.expandable-content_&]:-ml-[2.1rem] group/link" aria-label="Navigate to header">
                ​
                <div class="w-6 h-6 rounded-md flex items-center justify-center shadow-sm text-gray-400 dark:text-white/50 dark:bg-background-dark dark:brightness-[1.35] dark:ring-1 dark:hover:brightness-150 bg-white ring-1 ring-gray-400/30 dark:ring-gray-700/25 hover:ring-gray-400/60 dark:hover:ring-white/20 group-focus/link:border-2 group-focus/link:border-primary dark:group-focus/link:border-primary-light">
                  <svg xmlns="http://www.w3.org/2000/svg" fill="gray" height="12px" viewBox="0 0 576 512">
                    <path d="M0 256C0 167.6 71.6 96 160 96h72c13.3 0 24 10.7 24 24s-10.7 24-24 24H160C98.1 144 48 194.1 48 256s50.1 112 112 112h72c13.3 0 24 10.7 24 24s-10.7 24-24 24H160C71.6 416 0 344.4 0 256zm576 0c0 88.4-71.6 160-160 160H344c-13.3 0-24-10.7-24-24s10.7-24 24-24h72c61.9 0 112-50.1 112-112s-50.1-112-112-112H344c-13.3 0-24-10.7-24-24s10.7-24 24-24h72c88.4 0 160 71.6 160 160zM184 232H392c13.3 0 24 10.7 24 24s-10.7 24-24 24H184c-13.3 0-24-10.7-24-24s10.7-24 24-24z"></path>
                  </svg>
                </div>
              </a>
            </div>
            {scopes.map((scope, index) => {
    return <span class="flex items-center px-2 py-0.5 rounded-md bg-gray-100/50 dark:bg-white/5 text-gray-600 dark:text-gray-200 font-medium break-all" style={{
      lineHeight: "1rem",
      fontSize: "0.75rem",
      fontFamily: 'var(--font-jetbrains-mono), ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace'
    }} data-component-part="field-info-pill" key={index}>
                  {scope}
                </span>;
  })}
          </div>
        </div>
      </div>
    </div>;
};

export const ApiReleaseLifecycle = ({releaseLifecycle = 'GA'}) => {
  const lifecycleMap = {
    ea: 'Early Access',
    ga: 'Generally Available',
    deprecated: 'Deprecated',
    planned: 'Planned',
    beta: 'Beta'
  };
  const LIFECYCLE_THEMES = {
    info: {
      light: {
        bg: 'lab(91.896% .077188 -6.94053)',
        text: 'lab(36.091% 25.9241 -68.0384)'
      },
      dark: {
        bg: 'lab(16.0426% 6.71726 -27.2409)',
        text: 'lab(72.6029% 4.08953 -41.9669)'
      }
    },
    secondary: {
      light: {
        bg: 'lab(90.8548% 11.3355 8.01476)',
        text: 'lab(47.5286% 56.4238 43.4706)'
      },
      dark: {
        bg: 'lab(16.3609% 37.191 25.6346)',
        text: 'lab(71.881% 41.5 29.4839)'
      }
    },
    danger: {
      light: {
        bg: 'lab(94.7916% -.0000298023 0)',
        text: 'lab(54.3656% 0 -.0000119209)'
      },
      dark: {
        bg: 'lab(13.232% 0 0)',
        text: 'lab(51.6164% 0 0)'
      }
    }
  };
  const LIFECYCLE_THEME_MAP = {
    ea: 'info',
    ga: 'info',
    beta: 'info',
    deprecated: 'secondary',
    planned: 'danger'
  };
  const lifecycle = releaseLifecycle.toLocaleLowerCase();
  const lifecycleText = lifecycleMap[lifecycle];
  if (!lifecycleText) {
    return null;
  }
  const theme = LIFECYCLE_THEMES[LIFECYCLE_THEME_MAP[lifecycle]];
  return <div>
      <div className="api-section-heading flex flex-col gap-y-4 w-full">
        <div className="flex items-baseline border-b pb-2.5 border-gray-100 dark:border-gray-800 w-full">
          <h4 className="api-section-heading-title flex-1 mb-0">
            Release Lifecycle
          </h4>
        </div>
      </div>
      <div className="flex font-mono text-sm group/param-head param-head break-all relative mt-2.5" id="releaselifecycle-lifecycle">
        <div className="flex-1 flex flex-col content-start py-0.5 mr-5">
          <div className="flex items-center flex-wrap gap-2">
            <div className="absolute -top-1.5">
              <a href="#releaselifecycle-lifecycle" className="-ml-10 flex items-center opacity-0 border-0 group-hover/param-head:opacity-100 focus:opacity-100 focus:outline-0 py-2 [.expandable-content_&]:-ml-[2.1rem] group/link" aria-label="Navigate to header">
                <div className="w-6 h-6 rounded-md flex items-center justify-center shadow-sm text-gray-400 dark:text-white/50 dark:bg-background-dark dark:brightness-[1.35] dark:ring-1 dark:hover:brightness-150 bg-white ring-1 ring-gray-400/30 dark:ring-gray-700/25 hover:ring-gray-400/60 dark:hover:ring-white/20 group-focus/link:border-2 group-focus/link:border-primary dark:group-focus/link:border-primary-light">
                  <svg xmlns="http://www.w3.org/2000/svg" fill="gray" height="12px" viewBox="0 0 576 512">
                    <path d="M0 256C0 167.6 71.6 96 160 96h72c13.3 0 24 10.7 24 24s-10.7 24-24 24H160C98.1 144 48 194.1 48 256s50.1 112 112 112h72c13.3 0 24 10.7 24 24s-10.7 24-24 24H160C71.6 416 0 344.4 0 256zm576 0c0 88.4-71.6 160-160 160H344c-13.3 0-24-10.7-24-24s10.7-24 24-24h72c61.9 0 112-50.1 112-112s-50.1-112-112-112H344c-13.3 0-24-10.7-24-24s10.7-24 24-24h72c88.4 0 160 71.6 160 160zM184 232H392c13.3 0 24 10.7 24 24s-10.7 24-24 24H184c-13.3 0-24-10.7-24-24s10.7-24 24-24z"></path>
                  </svg>
                </div>
              </a>
            </div>
            <span className="inline-flex items-center w-fit font-medium gap-1 py-0.5 px-2 rounded-md" style={{
    lineHeight: '1rem',
    fontSize: '0.75rem',
    fontFamily: 'var(--font-jetbrains-mono), ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace',
    backgroundColor: `light-dark(${theme.light.bg}, ${theme.dark.bg})`,
    color: `light-dark(${theme.light.text}, ${theme.dark.text})`,
    borderColor: `light-dark(color-mix(in oklab, ${theme.light.text} 25%, transparent), color-mix(in oklab, ${theme.dark.text} 25%, transparent))`
  }}>
              {lifecycleText}
            </span>
          </div>
        </div>
      </div>
    </div>;
};

<ApiReleaseLifecycle releaseLifecycle="GA" />

<Scopes scopes={["update:flows"]} />


## OpenAPI

````yaml management-api-oas patch /flows/{id}
openapi: 3.1.0
info:
  title: Auth0 Management API
  description: Auth0 Management API v2.
  termsOfService: https://auth0.com/web-terms/
  contact:
    name: Auth0 Support
    url: https://support.auth0.com
  version: '2.0'
servers:
  - url: https://{tenantDomain}/api/v2
    variables:
      tenantDomain:
        default: '{TENANT}.auth0.com'
        description: Auth0 Tenant Domain
security:
  - bearerAuth: []
externalDocs:
  description: Auth0 Management API Documentation
  url: https://auth0.com/docs/api/management/v2/
paths:
  /flows/{id}:
    patch:
      tags:
        - flows
      summary: Update a flow
      operationId: patch_flows_by_id
      parameters:
        - name: id
          in: path
          description: Flow identifier
          required: true
          schema:
            type: string
            maxLength: 30
      requestBody:
        x-release-lifecycle: GA
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateFlowRequestContent'
              x-release-lifecycle: GA
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/UpdateFlowRequestContent'
              x-release-lifecycle: GA
      responses:
        '200':
          description: Flow successfully updated.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UpdateFlowResponseContent'
                x-release-lifecycle: GA
              x-release-lifecycle: GA
        '401':
          description: Invalid token.
          x-description-1: Invalid signature received for JSON Web Token validation.
          x-description-2: Client is not global.
        '403':
          description: 'Insufficient scope; expected any of: update:flows.'
        '404':
          description: The flow does not exist.
        '429':
          description: >-
            Too many requests. Check the X-RateLimit-Limit,
            X-RateLimit-Remaining and X-RateLimit-Reset headers.
      security:
        - bearerAuth: []
        - oAuth2ClientCredentials:
            - update:flows
      x-codeSamples:
        - lang: go
          label: Update a flow
          source: |
            package example

            import (
                context "context"

                management "github.com/auth0/go-auth0/management/management"
                client "github.com/auth0/go-auth0/management/management/client"
                option "github.com/auth0/go-auth0/management/management/option"
            )

            func do() {
                client := client.NewClient(
                    option.WithToken(
                        "<token>",
                    ),
                )
                request := &management.UpdateFlowRequestContent{}
                client.Flows.Update(
                    context.TODO(),
                    "id",
                    request,
                )
            }
        - lang: typescript
          label: Update a flow
          source: |
            import { ManagementClient } from "auth0";

            async function main() {
                const client = new ManagementClient({
                    token: "<token>",
                });
                await client.flows.update("id", {});
            }
            main();
        - lang: javascript
          label: Update a flow
          source: |
            import { ManagementClient } from "auth0";

            async function main() {
                const client = new ManagementClient({
                    token: "<token>",
                });
                await client.flows.update("id", {});
            }
            main();
components:
  schemas:
    UpdateFlowRequestContent:
      type: object
      additionalProperties: false
      x-release-lifecycle: GA
      properties:
        name:
          type: string
          minLength: 1
          maxLength: 150
        actions:
          type:
            - array
            - 'null'
          minItems: 0
          items:
            $ref: '#/components/schemas/FlowAction'
    UpdateFlowResponseContent:
      type: object
      additionalProperties: false
      required:
        - id
        - name
        - created_at
        - updated_at
      x-release-lifecycle: GA
      properties:
        id:
          type: string
          maxLength: 30
          format: flow-id
        name:
          type: string
          minLength: 1
          maxLength: 150
        actions:
          type: array
          minItems: 0
          items:
            $ref: '#/components/schemas/FlowAction'
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
        executed_at:
          type: string
          format: date
    FlowAction:
      type: object
      oneOf:
        - $ref: '#/components/schemas/FlowActionActivecampaign'
        - $ref: '#/components/schemas/FlowActionAirtable'
        - $ref: '#/components/schemas/FlowActionAuth0'
        - $ref: '#/components/schemas/FlowActionBigquery'
        - $ref: '#/components/schemas/FlowActionClearbit'
        - $ref: '#/components/schemas/FlowActionEmail'
        - $ref: '#/components/schemas/FlowActionFlow'
        - $ref: '#/components/schemas/FlowActionGoogleSheets'
        - $ref: '#/components/schemas/FlowActionHttp'
        - $ref: '#/components/schemas/FlowActionHubspot'
        - $ref: '#/components/schemas/FlowActionJson'
        - $ref: '#/components/schemas/FlowActionJwt'
        - $ref: '#/components/schemas/FlowActionMailchimp'
        - $ref: '#/components/schemas/FlowActionMailjet'
        - $ref: '#/components/schemas/FlowActionOtp'
        - $ref: '#/components/schemas/FlowActionPipedrive'
        - $ref: '#/components/schemas/FlowActionSalesforce'
        - $ref: '#/components/schemas/FlowActionSendgrid'
        - $ref: '#/components/schemas/FlowActionSlack'
        - $ref: '#/components/schemas/FlowActionStripe'
        - $ref: '#/components/schemas/FlowActionTelegram'
        - $ref: '#/components/schemas/FlowActionTwilio'
        - $ref: '#/components/schemas/FlowActionWhatsapp'
        - $ref: '#/components/schemas/FlowActionXml'
        - $ref: '#/components/schemas/FlowActionZapier'
    FlowActionActivecampaign:
      type: object
      oneOf:
        - $ref: '#/components/schemas/FlowActionActivecampaignListContacts'
        - $ref: '#/components/schemas/FlowActionActivecampaignUpsertContact'
    FlowActionAirtable:
      type: object
      oneOf:
        - $ref: '#/components/schemas/FlowActionAirtableCreateRecord'
        - $ref: '#/components/schemas/FlowActionAirtableListRecords'
        - $ref: '#/components/schemas/FlowActionAirtableUpdateRecord'
    FlowActionAuth0:
      type: object
      oneOf:
        - $ref: '#/components/schemas/FlowActionAuth0CreateUser'
        - $ref: '#/components/schemas/FlowActionAuth0GetUser'
        - $ref: '#/components/schemas/FlowActionAuth0UpdateUser'
        - $ref: '#/components/schemas/FlowActionAuth0SendRequest'
        - $ref: '#/components/schemas/FlowActionAuth0SendEmail'
        - $ref: '#/components/schemas/FlowActionAuth0SendSms'
        - $ref: '#/components/schemas/FlowActionAuth0MakeCall'
    FlowActionBigquery:
      type: object
      oneOf:
        - $ref: '#/components/schemas/FlowActionBigqueryInsertRows'
    FlowActionClearbit:
      type: object
      oneOf:
        - $ref: '#/components/schemas/FlowActionClearbitFindPerson'
        - $ref: '#/components/schemas/FlowActionClearbitFindCompany'
    FlowActionEmail:
      type: object
      oneOf:
        - $ref: '#/components/schemas/FlowActionEmailVerifyEmail'
    FlowActionFlow:
      type: object
      oneOf:
        - $ref: '#/components/schemas/FlowActionFlowBooleanCondition'
        - $ref: '#/components/schemas/FlowActionFlowDelayFlow'
        - $ref: '#/components/schemas/FlowActionFlowDoNothing'
        - $ref: '#/components/schemas/FlowActionFlowErrorMessage'
        - $ref: '#/components/schemas/FlowActionFlowMapValue'
        - $ref: '#/components/schemas/FlowActionFlowReturnJson'
        - $ref: '#/components/schemas/FlowActionFlowStoreVars'
    FlowActionGoogleSheets:
      type: object
      oneOf:
        - $ref: '#/components/schemas/FlowActionGoogleSheetsAddRow'
    FlowActionHttp:
      type: object
      oneOf:
        - $ref: '#/components/schemas/FlowActionHttpSendRequest'
    FlowActionHubspot:
      type: object
      oneOf:
        - $ref: '#/components/schemas/FlowActionHubspotEnrollContact'
        - $ref: '#/components/schemas/FlowActionHubspotGetContact'
        - $ref: '#/components/schemas/FlowActionHubspotUpsertContact'
    FlowActionJson:
      type: object
      oneOf:
        - $ref: '#/components/schemas/FlowActionJsonCreateJson'
        - $ref: '#/components/schemas/FlowActionJsonParseJson'
        - $ref: '#/components/schemas/FlowActionJsonSerializeJson'
    FlowActionJwt:
      type: object
      oneOf:
        - $ref: '#/components/schemas/FlowActionJwtDecodeJwt'
        - $ref: '#/components/schemas/FlowActionJwtSignJwt'
        - $ref: '#/components/schemas/FlowActionJwtVerifyJwt'
    FlowActionMailchimp:
      type: object
      oneOf:
        - $ref: '#/components/schemas/FlowActionMailchimpUpsertMember'
    FlowActionMailjet:
      type: object
      oneOf:
        - $ref: '#/components/schemas/FlowActionMailjetSendEmail'
    FlowActionOtp:
      type: object
      oneOf:
        - $ref: '#/components/schemas/FlowActionOtpGenerateCode'
        - $ref: '#/components/schemas/FlowActionOtpVerifyCode'
    FlowActionPipedrive:
      type: object
      oneOf:
        - $ref: '#/components/schemas/FlowActionPipedriveAddDeal'
        - $ref: '#/components/schemas/FlowActionPipedriveAddOrganization'
        - $ref: '#/components/schemas/FlowActionPipedriveAddPerson'
    FlowActionSalesforce:
      type: object
      oneOf:
        - $ref: '#/components/schemas/FlowActionSalesforceCreateLead'
        - $ref: '#/components/schemas/FlowActionSalesforceGetLead'
        - $ref: '#/components/schemas/FlowActionSalesforceSearchLeads'
        - $ref: '#/components/schemas/FlowActionSalesforceUpdateLead'
    FlowActionSendgrid:
      type: object
      oneOf:
        - $ref: '#/components/schemas/FlowActionSendgridSendEmail'
    FlowActionSlack:
      type: object
      oneOf:
        - $ref: '#/components/schemas/FlowActionSlackPostMessage'
    FlowActionStripe:
      type: object
      oneOf:
        - $ref: '#/components/schemas/FlowActionStripeAddTaxId'
        - $ref: '#/components/schemas/FlowActionStripeCreateCustomer'
        - $ref: '#/components/schemas/FlowActionStripeCreatePortalSession'
        - $ref: '#/components/schemas/FlowActionStripeDeleteTaxId'
        - $ref: '#/components/schemas/FlowActionStripeFindCustomers'
        - $ref: '#/components/schemas/FlowActionStripeGetCustomer'
        - $ref: '#/components/schemas/FlowActionStripeUpdateCustomer'
    FlowActionTelegram:
      type: object
      oneOf:
        - $ref: '#/components/schemas/FlowActionTelegramSendMessage'
    FlowActionTwilio:
      type: object
      oneOf:
        - $ref: '#/components/schemas/FlowActionTwilioMakeCall'
        - $ref: '#/components/schemas/FlowActionTwilioSendSms'
    FlowActionWhatsapp:
      type: object
      oneOf:
        - $ref: '#/components/schemas/FlowActionWhatsappSendMessage'
    FlowActionXml:
      type: object
      oneOf:
        - $ref: '#/components/schemas/FlowActionXmlParseXml'
        - $ref: '#/components/schemas/FlowActionXmlSerializeXml'
    FlowActionZapier:
      type: object
      oneOf:
        - $ref: '#/components/schemas/FlowActionZapierTriggerWebhook'
    FlowActionActivecampaignListContacts:
      type: object
      additionalProperties: false
      required:
        - id
        - type
        - action
        - params
      properties:
        id:
          type: string
          format: forms-custom-identifier
        alias:
          type: string
          maxLength: 100
        type:
          type: string
          enum:
            - ACTIVECAMPAIGN
        action:
          type: string
          enum:
            - LIST_CONTACTS
        allow_failure:
          type: boolean
        mask_output:
          type: boolean
        params:
          $ref: '#/components/schemas/FlowActionActivecampaignListContactsParams'
    FlowActionActivecampaignUpsertContact:
      type: object
      additionalProperties: false
      required:
        - id
        - type
        - action
        - params
      properties:
        id:
          type: string
          format: forms-custom-identifier
        alias:
          type: string
          maxLength: 100
        type:
          type: string
          enum:
            - ACTIVECAMPAIGN
        action:
          type: string
          enum:
            - UPSERT_CONTACT
        allow_failure:
          type: boolean
        mask_output:
          type: boolean
        params:
          $ref: '#/components/schemas/FlowActionActivecampaignUpsertContactParams'
    FlowActionAirtableCreateRecord:
      type: object
      additionalProperties: false
      required:
        - id
        - type
        - action
        - params
      properties:
        id:
          type: string
          format: forms-custom-identifier
        alias:
          type: string
          maxLength: 100
        type:
          type: string
          enum:
            - AIRTABLE
        action:
          type: string
          enum:
            - CREATE_RECORD
        allow_failure:
          type: boolean
        mask_output:
          type: boolean
        params:
          $ref: '#/components/schemas/FlowActionAirtableCreateRecordParams'
    FlowActionAirtableListRecords:
      type: object
      additionalProperties: false
      required:
        - id
        - type
        - action
        - params
      properties:
        id:
          type: string
          format: forms-custom-identifier
        alias:
          type: string
          maxLength: 100
        type:
          type: string
          enum:
            - AIRTABLE
        action:
          type: string
          enum:
            - LIST_RECORDS
        allow_failure:
          type: boolean
        mask_output:
          type: boolean
        params:
          $ref: '#/components/schemas/FlowActionAirtableListRecordsParams'
    FlowActionAirtableUpdateRecord:
      type: object
      additionalProperties: false
      required:
        - id
        - type
        - action
        - params
      properties:
        id:
          type: string
          format: forms-custom-identifier
        alias:
          type: string
          maxLength: 100
        type:
          type: string
          enum:
            - AIRTABLE
        action:
          type: string
          enum:
            - UPDATE_RECORD
        allow_failure:
          type: boolean
        mask_output:
          type: boolean
        params:
          $ref: '#/components/schemas/FlowActionAirtableUpdateRecordParams'
    FlowActionAuth0CreateUser:
      type: object
      additionalProperties: false
      required:
        - id
        - type
        - action
        - params
      properties:
        id:
          type: string
          format: forms-custom-identifier
        alias:
          type: string
          maxLength: 100
        type:
          type: string
          enum:
            - AUTH0
        action:
          type: string
          enum:
            - CREATE_USER
        allow_failure:
          type: boolean
        mask_output:
          type: boolean
        params:
          $ref: '#/components/schemas/FlowActionAuth0CreateUserParams'
    FlowActionAuth0GetUser:
      type: object
      additionalProperties: false
      required:
        - id
        - type
        - action
        - params
      properties:
        id:
          type: string
          format: forms-custom-identifier
        alias:
          type: string
          maxLength: 100
        type:
          type: string
          enum:
            - AUTH0
        action:
          type: string
          enum:
            - GET_USER
        allow_failure:
          type: boolean
        mask_output:
          type: boolean
        params:
          $ref: '#/components/schemas/FlowActionAuth0GetUserParams'
    FlowActionAuth0UpdateUser:
      type: object
      additionalProperties: false
      required:
        - id
        - type
        - action
        - params
      properties:
        id:
          type: string
          format: forms-custom-identifier
        alias:
          type: string
          maxLength: 100
        type:
          type: string
          enum:
            - AUTH0
        action:
          type: string
          enum:
            - UPDATE_USER
        allow_failure:
          type: boolean
        mask_output:
          type: boolean
        params:
          $ref: '#/components/schemas/FlowActionAuth0UpdateUserParams'
    FlowActionAuth0SendRequest:
      type: object
      additionalProperties: false
      required:
        - id
        - type
        - action
        - params
      properties:
        id:
          type: string
          format: forms-custom-identifier
        alias:
          type: string
          maxLength: 100
        type:
          type: string
          enum:
            - AUTH0
        action:
          type: string
          enum:
            - SEND_REQUEST
        allow_failure:
          type: boolean
        mask_output:
          type: boolean
        params:
          $ref: '#/components/schemas/FlowActionAuth0SendRequestParams'
    FlowActionAuth0SendEmail:
      type: object
      additionalProperties: false
      required:
        - id
        - type
        - action
        - params
      properties:
        id:
          type: string
          format: forms-custom-identifier
        alias:
          type: string
          maxLength: 100
        type:
          type: string
          enum:
            - AUTH0
        action:
          type: string
          enum:
            - SEND_EMAIL
        allow_failure:
          type: boolean
        mask_output:
          type: boolean
        params:
          $ref: '#/components/schemas/FlowActionAuth0SendEmailParams'
    FlowActionAuth0SendSms:
      type: object
      additionalProperties: false
      required:
        - id
        - type
        - action
        - params
      properties:
        id:
          type: string
          format: forms-custom-identifier
        alias:
          type: string
          maxLength: 100
        type:
          type: string
          enum:
            - AUTH0
        action:
          type: string
          enum:
            - SEND_SMS
        allow_failure:
          type: boolean
        mask_output:
          type: boolean
        params:
          $ref: '#/components/schemas/FlowActionAuth0SendSmsParams'
    FlowActionAuth0MakeCall:
      type: object
      additionalProperties: false
      required:
        - id
        - type
        - action
        - params
      properties:
        id:
          type: string
          format: forms-custom-identifier
        alias:
          type: string
          maxLength: 100
        type:
          type: string
          enum:
            - AUTH0
        action:
          type: string
          enum:
            - MAKE_CALL
        allow_failure:
          type: boolean
        mask_output:
          type: boolean
        params:
          $ref: '#/components/schemas/FlowActionAuth0MakeCallParams'
    FlowActionBigqueryInsertRows:
      type: object
      additionalProperties: false
      required:
        - id
        - type
        - action
        - params
      properties:
        id:
          type: string
          format: forms-custom-identifier
        alias:
          type: string
          maxLength: 100
        type:
          type: string
          enum:
            - BIGQUERY
        action:
          type: string
          enum:
            - INSERT_ROWS
        allow_failure:
          type: boolean
        mask_output:
          type: boolean
        params:
          $ref: '#/components/schemas/FlowActionBigqueryInsertRowsParams'
    FlowActionClearbitFindPerson:
      type: object
      additionalProperties: false
      required:
        - id
        - type
        - action
        - params
      properties:
        id:
          type: string
          format: forms-custom-identifier
        alias:
          type: string
          maxLength: 100
        type:
          type: string
          enum:
            - CLEARBIT
        action:
          type: string
          enum:
            - FIND_PERSON
        allow_failure:
          type: boolean
        mask_output:
          type: boolean
        params:
          $ref: '#/components/schemas/FlowActionClearbitFindPersonParams'
    FlowActionClearbitFindCompany:
      type: object
      additionalProperties: false
      required:
        - id
        - type
        - action
        - params
      properties:
        id:
          type: string
          format: forms-custom-identifier
        alias:
          type: string
          maxLength: 100
        type:
          type: string
          enum:
            - CLEARBIT
        action:
          type: string
          enum:
            - FIND_COMPANY
        allow_failure:
          type: boolean
        mask_output:
          type: boolean
        params:
          $ref: '#/components/schemas/FlowActionClearbitFindCompanyParams'
    FlowActionEmailVerifyEmail:
      type: object
      additionalProperties: false
      required:
        - id
        - type
        - action
        - params
      properties:
        id:
          type: string
          format: forms-custom-identifier
        alias:
          type: string
          maxLength: 100
        type:
          type: string
          enum:
            - EMAIL
        action:
          type: string
          enum:
            - VERIFY_EMAIL
        allow_failure:
          type: boolean
        mask_output:
          type: boolean
        params:
          $ref: '#/components/schemas/FlowActionEmailVerifyEmailParams'
    FlowActionFlowBooleanCondition:
      type: object
      additionalProperties: false
      required:
        - id
        - type
        - action
        - params
      properties:
        id:
          type: string
          format: forms-custom-identifier
        alias:
          type: string
          maxLength: 100
        type:
          type: string
          enum:
            - FLOW
        action:
          type: string
          enum:
            - BOOLEAN_CONDITION
        allow_failure:
          type: boolean
        mask_output:
          type: boolean
        params:
          $ref: '#/components/schemas/FlowActionFlowBooleanConditionParams'
    FlowActionFlowDelayFlow:
      type: object
      additionalProperties: false
      required:
        - id
        - type
        - action
        - params
      properties:
        id:
          type: string
          format: forms-custom-identifier
        alias:
          type: string
          maxLength: 100
        type:
          type: string
          enum:
            - FLOW
        action:
          type: string
          enum:
            - DELAY_FLOW
        allow_failure:
          type: boolean
        mask_output:
          type: boolean
        params:
          $ref: '#/components/schemas/FlowActionFlowDelayFlowParams'
    FlowActionFlowDoNothing:
      type: object
      additionalProperties: false
      required:
        - id
        - type
        - action
      properties:
        id:
          type: string
          format: forms-custom-identifier
        alias:
          type: string
          maxLength: 100
        type:
          type: string
          enum:
            - FLOW
        action:
          type: string
          enum:
            - DO_NOTHING
        allow_failure:
          type: boolean
        mask_output:
          type: boolean
        params:
          $ref: '#/components/schemas/FlowActionFlowDoNothingParams'
    FlowActionFlowErrorMessage:
      type: object
      additionalProperties: false
      required:
        - id
        - type
        - action
        - params
      properties:
        id:
          type: string
          format: forms-custom-identifier
        alias:
          type: string
          maxLength: 100
        type:
          type: string
          enum:
            - FLOW
        action:
          type: string
          enum:
            - ERROR_MESSAGE
        allow_failure:
          type: boolean
        mask_output:
          type: boolean
        params:
          $ref: '#/components/schemas/FlowActionFlowErrorMessageParams'
    FlowActionFlowMapValue:
      type: object
      additionalProperties: false
      required:
        - id
        - type
        - action
        - params
      properties:
        id:
          type: string
          format: forms-custom-identifier
        alias:
          type: string
          maxLength: 100
        type:
          type: string
          enum:
            - FLOW
        action:
          type: string
          enum:
            - MAP_VALUE
        allow_failure:
          type: boolean
        mask_output:
          type: boolean
        params:
          $ref: '#/components/schemas/FlowActionFlowMapValueParams'
    FlowActionFlowReturnJson:
      type: object
      additionalProperties: false
      required:
        - id
        - type
        - action
        - params
      properties:
        id:
          type: string
          format: forms-custom-identifier
        alias:
          type: string
          maxLength: 100
        type:
          type: string
          enum:
            - FLOW
        action:
          type: string
          enum:
            - RETURN_JSON
        allow_failure:
          type: boolean
        mask_output:
          type: boolean
        params:
          $ref: '#/components/schemas/FlowActionFlowReturnJsonParams'
    FlowActionFlowStoreVars:
      type: object
      additionalProperties: false
      required:
        - id
        - type
        - action
        - params
      properties:
        id:
          type: string
          format: forms-custom-identifier
        alias:
          type: string
          maxLength: 100
        type:
          type: string
          enum:
            - FLOW
        action:
          type: string
          enum:
            - STORE_VARS
        allow_failure:
          type: boolean
        mask_output:
          type: boolean
        params:
          $ref: '#/components/schemas/FlowActionFlowStoreVarsParams'
    FlowActionGoogleSheetsAddRow:
      type: object
      additionalProperties: false
      required:
        - id
        - type
        - action
        - params
      properties:
        id:
          type: string
          format: forms-custom-identifier
        alias:
          type: string
          maxLength: 100
        type:
          type: string
          enum:
            - GOOGLE_SHEETS
        action:
          type: string
          enum:
            - ADD_ROW
        allow_failure:
          type: boolean
        mask_output:
          type: boolean
        params:
          $ref: '#/components/schemas/FlowActionGoogleSheetsAddRowParams'
    FlowActionHttpSendRequest:
      type: object
      additionalProperties: false
      required:
        - id
        - type
        - action
        - params
      properties:
        id:
          type: string
          format: forms-custom-identifier
        alias:
          type: string
          maxLength: 100
        type:
          type: string
          enum:
            - HTTP
        action:
          type: string
          enum:
            - SEND_REQUEST
        allow_failure:
          type: boolean
        mask_output:
          type: boolean
        params:
          $ref: '#/components/schemas/FlowActionHttpSendRequestParams'
    FlowActionHubspotEnrollContact:
      type: object
      additionalProperties: false
      required:
        - id
        - type
        - action
        - params
      properties:
        id:
          type: string
          format: forms-custom-identifier
        alias:
          type: string
          maxLength: 100
        type:
          type: string
          enum:
            - HUBSPOT
        action:
          type: string
          enum:
            - ENROLL_CONTACT
        allow_failure:
          type: boolean
        mask_output:
          type: boolean
        params:
          $ref: '#/components/schemas/FlowActionHubspotEnrollContactParams'
    FlowActionHubspotGetContact:
      type: object
      additionalProperties: false
      required:
        - id
        - type
        - action
        - params
      properties:
        id:
          type: string
          format: forms-custom-identifier
        alias:
          type: string
          maxLength: 100
        type:
          type: string
          enum:
            - HUBSPOT
        action:
          type: string
          enum:
            - GET_CONTACT
        allow_failure:
          type: boolean
        mask_output:
          type: boolean
        params:
          $ref: '#/components/schemas/FlowActionHubspotGetContactParams'
    FlowActionHubspotUpsertContact:
      type: object
      additionalProperties: false
      required:
        - id
        - type
        - action
        - params
      properties:
        id:
          type: string
          format: forms-custom-identifier
        alias:
          type: string
          maxLength: 100
        type:
          type: string
          enum:
            - HUBSPOT
        action:
          type: string
          enum:
            - UPSERT_CONTACT
        allow_failure:
          type: boolean
        mask_output:
          type: boolean
        params:
          $ref: '#/components/schemas/FlowActionHubspotUpsertContactParams'
    FlowActionJsonCreateJson:
      type: object
      additionalProperties: false
      required:
        - id
        - type
        - action
        - params
      properties:
        id:
          type: string
          format: forms-custom-identifier
        alias:
          type: string
          maxLength: 100
        type:
          type: string
          enum:
            - JSON
        action:
          type: string
          enum:
            - CREATE_JSON
        allow_failure:
          type: boolean
        mask_output:
          type: boolean
        params:
          $ref: '#/components/schemas/FlowActionJsonCreateJsonParams'
    FlowActionJsonParseJson:
      type: object
      additionalProperties: false
      required:
        - id
        - type
        - action
        - params
      properties:
        id:
          type: string
          format: forms-custom-identifier
        alias:
          type: string
          maxLength: 100
        type:
          type: string
          enum:
            - JSON
        action:
          type: string
          enum:
            - PARSE_JSON
        allow_failure:
          type: boolean
        mask_output:
          type: boolean
        params:
          $ref: '#/components/schemas/FlowActionJsonParseJsonParams'
    FlowActionJsonSerializeJson:
      type: object
      additionalProperties: false
      required:
        - id
        - type
        - action
        - params
      properties:
        id:
          type: string
          format: forms-custom-identifier
        alias:
          type: string
          maxLength: 100
        type:
          type: string
          enum:
            - JSON
        action:
          type: string
          enum:
            - SERIALIZE_JSON
        allow_failure:
          type: boolean
        mask_output:
          type: boolean
        params:
          $ref: '#/components/schemas/FlowActionJsonSerializeJsonParams'
    FlowActionJwtDecodeJwt:
      type: object
      additionalProperties: false
      required:
        - id
        - type
        - action
        - params
      properties:
        id:
          type: string
          format: forms-custom-identifier
        alias:
          type: string
          maxLength: 100
        type:
          type: string
          enum:
            - JWT
        action:
          type: string
          enum:
            - DECODE_JWT
        allow_failure:
          type: boolean
        mask_output:
          type: boolean
        params:
          $ref: '#/components/schemas/FlowActionJwtDecodeJwtParams'
    FlowActionJwtSignJwt:
      type: object
      additionalProperties: false
      required:
        - id
        - type
        - action
        - params
      properties:
        id:
          type: string
          format: forms-custom-identifier
        alias:
          type: string
          maxLength: 100
        type:
          type: string
          enum:
            - JWT
        action:
          type: string
          enum:
            - SIGN_JWT
        allow_failure:
          type: boolean
        mask_output:
          type: boolean
        params:
          $ref: '#/components/schemas/FlowActionJwtSignJwtParams'
    FlowActionJwtVerifyJwt:
      type: object
      additionalProperties: false
      required:
        - id
        - type
        - action
        - params
      properties:
        id:
          type: string
          format: forms-custom-identifier
        alias:
          type: string
          maxLength: 100
        type:
          type: string
          enum:
            - JWT
        action:
          type: string
          enum:
            - VERIFY_JWT
        allow_failure:
          type: boolean
        mask_output:
          type: boolean
        params:
          $ref: '#/components/schemas/FlowActionJwtVerifyJwtParams'
    FlowActionMailchimpUpsertMember:
      type: object
      additionalProperties: false
      required:
        - id
        - type
        - action
        - params
      properties:
        id:
          type: string
          format: forms-custom-identifier
        alias:
          type: string
          maxLength: 100
        type:
          type: string
          enum:
            - MAILCHIMP
        action:
          type: string
          enum:
            - UPSERT_MEMBER
        allow_failure:
          type: boolean
        mask_output:
          type: boolean
        params:
          $ref: '#/components/schemas/FlowActionMailchimpUpsertMemberParams'
    FlowActionMailjetSendEmail:
      type: object
      additionalProperties: false
      required:
        - id
        - type
        - action
        - params
      properties:
        id:
          type: string
          format: forms-custom-identifier
        alias:
          type: string
          maxLength: 100
        type:
          type: string
          enum:
            - MAILJET
        action:
          type: string
          enum:
            - SEND_EMAIL
        allow_failure:
          type: boolean
        mask_output:
          type: boolean
        params:
          $ref: '#/components/schemas/FlowActionMailjetSendEmailParams'
    FlowActionOtpGenerateCode:
      type: object
      additionalProperties: false
      required:
        - id
        - type
        - action
        - params
      properties:
        id:
          type: string
          format: forms-custom-identifier
        alias:
          type: string
          maxLength: 100
        type:
          type: string
          enum:
            - OTP
        action:
          type: string
          enum:
            - GENERATE_CODE
        allow_failure:
          type: boolean
        mask_output:
          type: boolean
        params:
          $ref: '#/components/schemas/FlowActionOtpGenerateCodeParams'
    FlowActionOtpVerifyCode:
      type: object
      additionalProperties: false
      required:
        - id
        - type
        - action
        - params
      properties:
        id:
          type: string
          format: forms-custom-identifier
        alias:
          type: string
          maxLength: 100
        type:
          type: string
          enum:
            - OTP
        action:
          type: string
          enum:
            - VERIFY_CODE
        allow_failure:
          type: boolean
        mask_output:
          type: boolean
        params:
          $ref: '#/components/schemas/FlowActionOtpVerifyCodeParams'
    FlowActionPipedriveAddDeal:
      type: object
      additionalProperties: false
      required:
        - id
        - type
        - action
        - params
      properties:
        id:
          type: string
          format: forms-custom-identifier
        alias:
          type: string
          maxLength: 100
        type:
          type: string
          enum:
            - PIPEDRIVE
        action:
          type: string
          enum:
            - ADD_DEAL
        allow_failure:
          type: boolean
        mask_output:
          type: boolean
        params:
          $ref: '#/components/schemas/FlowActionPipedriveAddDealParams'
    FlowActionPipedriveAddOrganization:
      type: object
      additionalProperties: false
      required:
        - id
        - type
        - action
        - params
      properties:
        id:
          type: string
          format: forms-custom-identifier
        alias:
          type: string
          maxLength: 100
        type:
          type: string
          enum:
            - PIPEDRIVE
        action:
          type: string
          enum:
            - ADD_ORGANIZATION
        allow_failure:
          type: boolean
        mask_output:
          type: boolean
        params:
          $ref: '#/components/schemas/FlowActionPipedriveAddOrganizationParams'
    FlowActionPipedriveAddPerson:
      type: object
      additionalProperties: false
      required:
        - id
        - type
        - action
        - params
      properties:
        id:
          type: string
          format: forms-custom-identifier
        alias:
          type: string
          maxLength: 100
        type:
          type: string
          enum:
            - PIPEDRIVE
        action:
          type: string
          enum:
            - ADD_PERSON
        allow_failure:
          type: boolean
        mask_output:
          type: boolean
        params:
          $ref: '#/components/schemas/FlowActionPipedriveAddPersonParams'
    FlowActionSalesforceCreateLead:
      type: object
      additionalProperties: false
      required:
        - id
        - type
        - action
        - params
      properties:
        id:
          type: string
          format: forms-custom-identifier
        alias:
          type: string
          maxLength: 100
        type:
          type: string
          enum:
            - SALESFORCE
        action:
          type: string
          enum:
            - CREATE_LEAD
        allow_failure:
          type: boolean
        mask_output:
          type: boolean
        params:
          $ref: '#/components/schemas/FlowActionSalesforceCreateLeadParams'
    FlowActionSalesforceGetLead:
      type: object
      additionalProperties: false
      required:
        - id
        - type
        - action
        - params
      properties:
        id:
          type: string
          format: forms-custom-identifier
        alias:
          type: string
          maxLength: 100
        type:
          type: string
          enum:
            - SALESFORCE
        action:
          type: string
          enum:
            - GET_LEAD
        allow_failure:
          type: boolean
        mask_output:
          type: boolean
        params:
          $ref: '#/components/schemas/FlowActionSalesforceGetLeadParams'
    FlowActionSalesforceSearchLeads:
      type: object
      additionalProperties: false
      required:
        - id
        - type
        - action
        - params
      properties:
        id:
          type: string
          format: forms-custom-identifier
        alias:
          type: string
          maxLength: 100
        type:
          type: string
          enum:
            - SALESFORCE
        action:
          type: string
          enum:
            - SEARCH_LEADS
        allow_failure:
          type: boolean
        mask_output:
          type: boolean
        params:
          $ref: '#/components/schemas/FlowActionSalesforceSearchLeadsParams'
    FlowActionSalesforceUpdateLead:
      type: object
      additionalProperties: false
      required:
        - id
        - type
        - action
        - params
      properties:
        id:
          type: string
          format: forms-custom-identifier
        alias:
          type: string
          maxLength: 100
        type:
          type: string
          enum:
            - SALESFORCE
        action:
          type: string
          enum:
            - UPDATE_LEAD
        allow_failure:
          type: boolean
        mask_output:
          type: boolean
        params:
          $ref: '#/components/schemas/FlowActionSalesforceUpdateLeadParams'
    FlowActionSendgridSendEmail:
      type: object
      additionalProperties: false
      required:
        - id
        - type
        - action
        - params
      properties:
        id:
          type: string
          format: forms-custom-identifier
        alias:
          type: string
          maxLength: 100
        type:
          type: string
          enum:
            - SENDGRID
        action:
          type: string
          enum:
            - SEND_EMAIL
        allow_failure:
          type: boolean
        mask_output:
          type: boolean
        params:
          $ref: '#/components/schemas/FlowActionSendgridSendEmailParams'
    FlowActionSlackPostMessage:
      type: object
      additionalProperties: false
      required:
        - id
        - type
        - action
        - params
      properties:
        id:
          type: string
          format: forms-custom-identifier
        alias:
          type: string
          maxLength: 100
        type:
          type: string
          enum:
            - SLACK
        action:
          type: string
          enum:
            - POST_MESSAGE
        allow_failure:
          type: boolean
        mask_output:
          type: boolean
        params:
          $ref: '#/components/schemas/FlowActionSlackPostMessageParams'
    FlowActionStripeAddTaxId:
      type: object
      additionalProperties: false
      required:
        - id
        - type
        - action
        - params
      properties:
        id:
          type: string
          format: forms-custom-identifier
        alias:
          type: string
          maxLength: 100
        type:
          type: string
          enum:
            - STRIPE
        action:
          type: string
          enum:
            - ADD_TAX_ID
        allow_failure:
          type: boolean
        mask_output:
          type: boolean
        params:
          $ref: '#/components/schemas/FlowActionStripeAddTaxIdParams'
    FlowActionStripeCreateCustomer:
      type: object
      additionalProperties: false
      required:
        - id
        - type
        - action
        - params
      properties:
        id:
          type: string
          format: forms-custom-identifier
        alias:
          type: string
          maxLength: 100
        type:
          type: string
          enum:
            - STRIPE
        action:
          type: string
          enum:
            - CREATE_CUSTOMER
        allow_failure:
          type: boolean
        mask_output:
          type: boolean
        params:
          $ref: '#/components/schemas/FlowActionStripeCreateCustomerParams'
    FlowActionStripeCreatePortalSession:
      type: object
      additionalProperties: false
      required:
        - id
        - type
        - action
        - params
      properties:
        id:
          type: string
          format: forms-custom-identifier
        alias:
          type: string
          maxLength: 100
        type:
          type: string
          enum:
            - STRIPE
        action:
          type: string
          enum:
            - CREATE_PORTAL_SESSION
        allow_failure:
          type: boolean
        mask_output:
          type: boolean
        params:
          $ref: '#/components/schemas/FlowActionStripeCreatePortalSessionParams'
    FlowActionStripeDeleteTaxId:
      type: object
      additionalProperties: false
      required:
        - id
        - type
        - action
        - params
      properties:
        id:
          type: string
          format: forms-custom-identifier
        alias:
          type: string
          maxLength: 100
        type:
          type: string
          enum:
            - STRIPE
        action:
          type: string
          enum:
            - DELETE_TAX_ID
        allow_failure:
          type: boolean
        mask_output:
          type: boolean
        params:
          $ref: '#/components/schemas/FlowActionStripeDeleteTaxIdParams'
    FlowActionStripeFindCustomers:
      type: object
      additionalProperties: false
      required:
        - id
        - type
        - action
        - params
      properties:
        id:
          type: string
          format: forms-custom-identifier
        alias:
          type: string
          maxLength: 100
        type:
          type: string
          enum:
            - STRIPE
        action:
          type: string
          enum:
            - FIND_CUSTOMERS
        allow_failure:
          type: boolean
        mask_output:
          type: boolean
        params:
          $ref: '#/components/schemas/FlowActionStripeFindCustomersParams'
    FlowActionStripeGetCustomer:
      type: object
      additionalProperties: false
      required:
        - id
        - type
        - action
        - params
      properties:
        id:
          type: string
          format: forms-custom-identifier
        alias:
          type: string
          maxLength: 100
        type:
          type: string
          enum:
            - STRIPE
        action:
          type: string
          enum:
            - GET_CUSTOMER
        allow_failure:
          type: boolean
        mask_output:
          type: boolean
        params:
          $ref: '#/components/schemas/FlowActionStripeGetCustomerParams'
    FlowActionStripeUpdateCustomer:
      type: object
      additionalProperties: false
      required:
        - id
        - type
        - action
        - params
      properties:
        id:
          type: string
          format: forms-custom-identifier
        alias:
          type: string
          maxLength: 100
        type:
          type: string
          enum:
            - STRIPE
        action:
          type: string
          enum:
            - UPDATE_CUSTOMER
        allow_failure:
          type: boolean
        mask_output:
          type: boolean
        params:
          $ref: '#/components/schemas/FlowActionStripeUpdateCustomerParams'
    FlowActionTelegramSendMessage:
      type: object
      additionalProperties: false
      required:
        - id
        - type
        - action
        - params
      properties:
        id:
          type: string
          format: forms-custom-identifier
        alias:
          type: string
          maxLength: 100
        type:
          type: string
          enum:
            - TELEGRAM
        action:
          type: string
          enum:
            - SEND_MESSAGE
        allow_failure:
          type: boolean
        mask_output:
          type: boolean
        params:
          $ref: '#/components/schemas/FlowActionTelegramSendMessageParams'
    FlowActionTwilioMakeCall:
      type: object
      additionalProperties: false
      required:
        - id
        - type
        - action
        - params
      properties:
        id:
          type: string
          format: forms-custom-identifier
        alias:
          type: string
          maxLength: 100
        type:
          type: string
          enum:
            - TWILIO
        action:
          type: string
          enum:
            - MAKE_CALL
        allow_failure:
          type: boolean
        mask_output:
          type: boolean
        params:
          $ref: '#/components/schemas/FlowActionTwilioMakeCallParams'
    FlowActionTwilioSendSms:
      type: object
      additionalProperties: false
      required:
        - id
        - type
        - action
        - params
      properties:
        id:
          type: string
          format: forms-custom-identifier
        alias:
          type: string
          maxLength: 100
        type:
          type: string
          enum:
            - TWILIO
        action:
          type: string
          enum:
            - SEND_SMS
        allow_failure:
          type: boolean
        mask_output:
          type: boolean
        params:
          $ref: '#/components/schemas/FlowActionTwilioSendSmsParams'
    FlowActionWhatsappSendMessage:
      type: object
      additionalProperties: false
      required:
        - id
        - type
        - action
        - params
      properties:
        id:
          type: string
          format: forms-custom-identifier
        alias:
          type: string
          maxLength: 100
        type:
          type: string
          enum:
            - WHATSAPP
        action:
          type: string
          enum:
            - SEND_MESSAGE
        allow_failure:
          type: boolean
        mask_output:
          type: boolean
        params:
          $ref: '#/components/schemas/FlowActionWhatsappSendMessageParams'
    FlowActionXmlParseXml:
      type: object
      additionalProperties: false
      required:
        - id
        - type
        - action
        - params
      properties:
        id:
          type: string
          format: forms-custom-identifier
        alias:
          type: string
          maxLength: 100
        type:
          type: string
          enum:
            - XML
        action:
          type: string
          enum:
            - PARSE_XML
        allow_failure:
          type: boolean
        mask_output:
          type: boolean
        params:
          $ref: '#/components/schemas/FlowActionXmlParseXmlParams'
    FlowActionXmlSerializeXml:
      type: object
      additionalProperties: false
      required:
        - id
        - type
        - action
        - params
      properties:
        id:
          type: string
          format: forms-custom-identifier
        alias:
          type: string
          maxLength: 100
        type:
          type: string
          enum:
            - XML
        action:
          type: string
          enum:
            - SERIALIZE_XML
        allow_failure:
          type: boolean
        mask_output:
          type: boolean
        params:
          $ref: '#/components/schemas/FlowActionXmlSerializeXmlParams'
    FlowActionZapierTriggerWebhook:
      type: object
      additionalProperties: false
      required:
        - id
        - type
        - action
        - params
      properties:
        id:
          type: string
          format: forms-custom-identifier
        alias:
          type: string
          maxLength: 100
        type:
          type: string
          enum:
            - ZAPIER
        action:
          type: string
          enum:
            - TRIGGER_WEBHOOK
        allow_failure:
          type: boolean
        mask_output:
          type: boolean
        params:
          $ref: '#/components/schemas/FlowActionZapierTriggerWebhookParams'
    FlowActionActivecampaignListContactsParams:
      type: object
      additionalProperties: false
      required:
        - connection_id
        - email
      properties:
        connection_id:
          type: string
          maxLength: 30
          format: flows-vault-connections-id
        email:
          type: string
    FlowActionActivecampaignUpsertContactParams:
      type: object
      additionalProperties: false
      required:
        - connection_id
        - email
      properties:
        connection_id:
          type: string
          maxLength: 30
          format: flows-vault-connections-id
        email:
          type: string
        first_name:
          type: string
        last_name:
          type: string
        phone:
          type: string
        custom_fields:
          $ref: >-
            #/components/schemas/FlowActionActivecampaignUpsertContactParamsCustomFields
    FlowActionAirtableCreateRecordParams:
      type: object
      additionalProperties: false
      required:
        - connection_id
        - base_id
        - table_name
      properties:
        connection_id:
          type: string
          maxLength: 30
          format: flows-vault-connections-id
        base_id:
          type: string
        table_name:
          type: string
        fields:
          $ref: '#/components/schemas/FlowActionAirtableCreateRecordParamsFields'
    FlowActionAirtableListRecordsParams:
      type: object
      additionalProperties: false
      required:
        - connection_id
        - base_id
        - table_name
      properties:
        connection_id:
          type: string
          maxLength: 30
          format: flows-vault-connections-id
        base_id:
          type: string
        table_name:
          type: string
        query:
          type: string
        view:
          type: string
    FlowActionAirtableUpdateRecordParams:
      type: object
      additionalProperties: false
      required:
        - connection_id
        - base_id
        - table_name
        - record_id
      properties:
        connection_id:
          type: string
          maxLength: 30
          format: flows-vault-connections-id
        base_id:
          type: string
        table_name:
          type: string
        record_id:
          type: string
        fields:
          $ref: '#/components/schemas/FlowActionAirtableUpdateRecordParamsFields'
    FlowActionAuth0CreateUserParams:
      type: object
      additionalProperties: false
      required:
        - connection_id
        - payload
      properties:
        connection_id:
          type: string
          maxLength: 30
          format: flows-vault-connections-id
        payload:
          $ref: '#/components/schemas/FlowActionAuth0CreateUserParamsPayload'
    FlowActionAuth0GetUserParams:
      type: object
      additionalProperties: false
      required:
        - connection_id
        - user_id
      properties:
        connection_id:
          type: string
          maxLength: 30
          format: flows-vault-connections-id
        user_id:
          type: string
    FlowActionAuth0UpdateUserParams:
      type: object
      additionalProperties: false
      required:
        - connection_id
        - user_id
        - changes
      properties:
        connection_id:
          type: string
          maxLength: 30
          format: flows-vault-connections-id
        user_id:
          type: string
        changes:
          $ref: '#/components/schemas/FlowActionAuth0UpdateUserParamsChanges'
    FlowActionAuth0SendRequestParams:
      type: object
      additionalProperties: false
      required:
        - connection_id
        - pathname
      properties:
        connection_id:
          type: string
          maxLength: 30
          format: flows-vault-connections-id
        pathname:
          type: string
        method:
          type: string
          enum:
            - GET
            - POST
            - PUT
            - PATCH
            - DELETE
        headers:
          $ref: '#/components/schemas/FlowActionAuth0SendRequestParamsHeaders'
        params:
          $ref: '#/components/schemas/FlowActionAuth0SendRequestParamsQueryParams'
        payload:
          $ref: '#/components/schemas/FlowActionAuth0SendRequestParamsPayload'
    FlowActionAuth0SendEmailParams:
      type: object
      additionalProperties: false
      required:
        - to
        - subject
        - body
      properties:
        from:
          $ref: '#/components/schemas/FlowActionAuth0SendEmailParamsFrom'
        to:
          $ref: '#/components/schemas/FlowActionAuth0SendEmailParamsTo'
        subject:
          type: string
          minLength: 1
          maxLength: 255
        body:
          type: string
          minLength: 1
          maxLength: 102400
        custom_vars:
          $ref: '#/components/schemas/FlowActionAuth0SendRequestParamsCustomVars'
    FlowActionAuth0SendSmsParams:
      type: object
      additionalProperties: false
      required:
        - to
        - message
      properties:
        from:
          type: string
          minLength: 1
          maxLength: 255
        to:
          type: string
          minLength: 1
          maxLength: 255
        message:
          type: string
          minLength: 1
          maxLength: 1024
        custom_vars:
          $ref: '#/components/schemas/FlowActionAuth0SendSmsParamsCustomVars'
    FlowActionAuth0MakeCallParams:
      type: object
      additionalProperties: false
      required:
        - to
        - message
      properties:
        from:
          type: string
          minLength: 1
          maxLength: 255
        to:
          type: string
          minLength: 1
          maxLength: 255
        message:
          type: string
          minLength: 1
          maxLength: 1024
        custom_vars:
          $ref: '#/components/schemas/FlowActionAuth0MakeCallParamsCustomVars'
    FlowActionBigqueryInsertRowsParams:
      type: object
      additionalProperties: false
      required:
        - connection_id
        - dataset_id
        - table_id
      properties:
        connection_id:
          type: string
          maxLength: 30
          format: flows-vault-connections-id
        dataset_id:
          type: string
        table_id:
          type: string
        data:
          $ref: '#/components/schemas/FlowActionBigqueryInsertRowsParamsData'
    FlowActionClearbitFindPersonParams:
      type: object
      additionalProperties: false
      required:
        - connection_id
        - email
      properties:
        connection_id:
          type: string
          maxLength: 30
          format: flows-vault-connections-id
        email:
          type: string
    FlowActionClearbitFindCompanyParams:
      type: object
      additionalProperties: false
      required:
        - connection_id
        - domain
      properties:
        connection_id:
          type: string
          maxLength: 30
          format: flows-vault-connections-id
        domain:
          type: string
    FlowActionEmailVerifyEmailParams:
      type: object
      additionalProperties: false
      required:
        - email
      properties:
        email:
          type: string
        rules:
          $ref: '#/components/schemas/FlowActionEmailVerifyEmailParamsRules'
    FlowActionFlowBooleanConditionParams:
      type: object
      additionalProperties: false
      required:
        - if
      properties:
        if: {}
        then:
          type: array
          items:
            $ref: '#/components/schemas/FlowAction'
        else:
          type: array
          items:
            $ref: '#/components/schemas/FlowAction'
    FlowActionFlowDelayFlowParams:
      type: object
      additionalProperties: false
      required:
        - number
      properties:
        number:
          $ref: '#/components/schemas/FlowActionFlowDelayFlowParamsNumber'
        units:
          type: string
          enum:
            - SECONDS
            - MINUTES
            - HOURS
            - DAYS
    FlowActionFlowDoNothingParams:
      type: object
      additionalProperties: false
      properties: {}
    FlowActionFlowErrorMessageParams:
      type: object
      additionalProperties: false
      required:
        - message
      properties:
        message:
          type: string
          maxLength: 2048
    FlowActionFlowMapValueParams:
      type: object
      additionalProperties: false
      required:
        - input
      properties:
        input:
          $ref: '#/components/schemas/FlowActionFlowMapValueParamsInput'
        cases:
          $ref: '#/components/schemas/FlowActionFlowMapValueParamsCases'
        fallback:
          $ref: '#/components/schemas/FlowActionFlowMapValueParamsFallback'
    FlowActionFlowReturnJsonParams:
      type: object
      additionalProperties: false
      required:
        - payload
      properties:
        payload:
          $ref: '#/components/schemas/FlowActionFlowReturnJsonParamsPayload'
    FlowActionFlowStoreVarsParams:
      type: object
      additionalProperties: false
      required:
        - vars
      properties:
        vars:
          $ref: '#/components/schemas/FlowActionFlowStoreVarsParamsVars'
    FlowActionGoogleSheetsAddRowParams:
      type: object
      additionalProperties: false
      required:
        - connection_id
        - spreadsheet_id
      properties:
        connection_id:
          type: string
          maxLength: 30
          format: flows-vault-connections-id
        spreadsheet_id:
          type: string
          minLength: 1
        sheet_id:
          $ref: '#/components/schemas/FlowActionGoogleSheetsAddRowParamsSheetId'
        values:
          $ref: '#/components/schemas/FlowActionGoogleSheetsAddRowParamsValues'
    FlowActionHttpSendRequestParams:
      type: object
      additionalProperties: false
      required:
        - url
      properties:
        connection_id:
          type: string
          maxLength: 30
          format: flows-vault-connections-id
        url:
          type: string
        method:
          type: string
          enum:
            - GET
            - POST
            - PUT
            - PATCH
            - DELETE
        headers:
          $ref: '#/components/schemas/FlowActionHttpSendRequestParamsHeaders'
        basic:
          $ref: '#/components/schemas/FlowActionHttpSendRequestParamsBasicAuth'
        params:
          $ref: '#/components/schemas/FlowActionHttpSendRequestParamsQueryParams'
        payload:
          $ref: '#/components/schemas/FlowActionHttpSendRequestParamsPayload'
        content_type:
          type: string
          enum:
            - JSON
            - FORM
            - XML
    FlowActionHubspotEnrollContactParams:
      type: object
      additionalProperties: false
      required:
        - connection_id
        - email
        - workflow_id
      properties:
        connection_id:
          type: string
          maxLength: 30
          format: flows-vault-connections-id
        email:
          type: string
        workflow_id:
          $ref: '#/components/schemas/FlowActionHubspotEnrollContactParamsWorkflowId'
    FlowActionHubspotGetContactParams:
      type: object
      additionalProperties: false
      required:
        - connection_id
        - email
      properties:
        connection_id:
          type: string
          maxLength: 30
          format: flows-vault-connections-id
        email:
          type: string
    FlowActionHubspotUpsertContactParams:
      type: object
      additionalProperties: true
      required:
        - connection_id
        - email
      properties:
        connection_id:
          type: string
          maxLength: 30
          format: flows-vault-connections-id
        email:
          type: string
        properties:
          type: array
          items:
            $ref: '#/components/schemas/FlowActionHubspotUpsertContactParamsProperty'
    FlowActionJsonCreateJsonParams:
      type: object
      additionalProperties: false
      required:
        - object
      properties:
        object:
          $ref: '#/components/schemas/FlowActionJsonCreateJsonParamsObject'
    FlowActionJsonParseJsonParams:
      type: object
      additionalProperties: false
      required:
        - json
      properties:
        json:
          type: string
    FlowActionJsonSerializeJsonParams:
      type: object
      additionalProperties: false
      required:
        - object
      properties:
        object:
          $ref: '#/components/schemas/FlowActionJsonSerializeJsonParamsObject'
    FlowActionJwtDecodeJwtParams:
      type: object
      additionalProperties: false
      required:
        - token
      properties:
        token:
          type: string
          maxLength: 10000
    FlowActionJwtSignJwtParams:
      type: object
      additionalProperties: false
      required:
        - connection_id
      properties:
        connection_id:
          type: string
          maxLength: 30
          format: flows-vault-connections-id
        payload:
          $ref: '#/components/schemas/FlowActionJwtSignJwtParamsPayload'
        subject:
          type: string
          maxLength: 100
        issuer:
          type: string
          maxLength: 100
        audience:
          type: string
          maxLength: 100
        expires_in:
          type: string
          maxLength: 25
    FlowActionJwtVerifyJwtParams:
      type: object
      additionalProperties: false
      required:
        - connection_id
        - token
      properties:
        connection_id:
          type: string
          maxLength: 30
          format: flows-vault-connections-id
        token:
          type: string
          maxLength: 100
        audience:
          type: string
          maxLength: 500
        issuer:
          type: string
          maxLength: 500
    FlowActionMailchimpUpsertMemberParams:
      type: object
      additionalProperties: false
      required:
        - connection_id
        - list_id
        - member
      properties:
        connection_id:
          type: string
          maxLength: 30
          format: flows-vault-connections-id
        list_id:
          type: string
        member:
          $ref: '#/components/schemas/FlowActionMailchimpUpsertMemberParamsMember'
    FlowActionMailjetSendEmailParams:
      type: object
      oneOf:
        - type: object
          additionalProperties: true
          required:
            - content
          properties:
            content:
              type: string
        - type: object
          additionalProperties: true
          required:
            - template_id
          properties:
            template_id:
              type: integer
            variables:
              type: object
              additionalProperties: true
              properties: {}
    FlowActionOtpGenerateCodeParams:
      type: object
      additionalProperties: false
      required:
        - reference
        - length
      properties:
        reference:
          type: string
          maxLength: 250
        length:
          type: integer
          minimum: 1
          maximum: 10
    FlowActionOtpVerifyCodeParams:
      type: object
      additionalProperties: false
      required:
        - reference
        - code
      properties:
        reference:
          type: string
          maxLength: 250
        code:
          $ref: '#/components/schemas/FlowActionOtpVerifyCodeParamsCode'
    FlowActionPipedriveAddDealParams:
      type: object
      additionalProperties: false
      required:
        - connection_id
        - title
      properties:
        connection_id:
          type: string
          maxLength: 30
          format: flows-vault-connections-id
        title:
          type: string
        value:
          type: string
        user_id:
          $ref: '#/components/schemas/FlowActionPipedriveAddDealParamsUserId'
        person_id:
          $ref: '#/components/schemas/FlowActionPipedriveAddDealParamsPersonId'
        organization_id:
          $ref: '#/components/schemas/FlowActionPipedriveAddDealParamsOrganizationId'
        stage_id:
          $ref: '#/components/schemas/FlowActionPipedriveAddDealParamsStageId'
        fields:
          $ref: '#/components/schemas/FlowActionPipedriveAddDealParamsFields'
    FlowActionPipedriveAddOrganizationParams:
      type: object
      additionalProperties: false
      required:
        - connection_id
        - name
      properties:
        connection_id:
          type: string
          maxLength: 30
          format: flows-vault-connections-id
        name:
          type: string
        owner_id:
          $ref: '#/components/schemas/FlowActionPipedriveAddOrganizationParamsOwnerId'
        fields:
          $ref: '#/components/schemas/FlowActionPipedriveAddOrganizationParamsFields'
    FlowActionPipedriveAddPersonParams:
      type: object
      additionalProperties: false
      required:
        - connection_id
        - name
      properties:
        connection_id:
          type: string
          maxLength: 30
          format: flows-vault-connections-id
        name:
          type: string
        email:
          type: string
        phone:
          type: string
        owner_id:
          $ref: '#/components/schemas/FlowActionPipedriveAddPersonParamsOwnerId'
        organization_id:
          $ref: >-
            #/components/schemas/FlowActionPipedriveAddPersonParamsOrganizationId
        fields:
          $ref: '#/components/schemas/FlowActionPipedriveAddPersonParamsFields'
    FlowActionSalesforceCreateLeadParams:
      type: object
      additionalProperties: false
      required:
        - connection_id
        - last_name
        - company
      properties:
        connection_id:
          type: string
          maxLength: 30
          format: flows-vault-connections-id
        first_name:
          type: string
        last_name:
          type: string
          minLength: 1
        company:
          type: string
          minLength: 1
        email:
          type: string
        phone:
          type: string
        payload:
          $ref: '#/components/schemas/FlowActionSalesforceCreateLeadParamsPayload'
    FlowActionSalesforceGetLeadParams:
      type: object
      additionalProperties: false
      required:
        - connection_id
        - lead_id
      properties:
        connection_id:
          type: string
          maxLength: 30
          format: flows-vault-connections-id
        lead_id:
          type: string
    FlowActionSalesforceSearchLeadsParams:
      type: object
      additionalProperties: false
      required:
        - connection_id
        - search_field
        - search_value
        - lead_fields
      properties:
        connection_id:
          type: string
          maxLength: 30
          format: flows-vault-connections-id
        search_field:
          type: string
          enum:
            - email
            - name
            - phone
            - all
        search_value:
          type: string
          maxLength: 2000
        lead_fields:
          type: array
          minItems: 1
          items:
            type: string
            maxLength: 2000
    FlowActionSalesforceUpdateLeadParams:
      type: object
      additionalProperties: false
      required:
        - connection_id
        - lead_id
      properties:
        connection_id:
          type: string
          maxLength: 30
          format: flows-vault-connections-id
        lead_id:
          type: string
          minLength: 1
        payload:
          $ref: '#/components/schemas/FlowActionSalesforceUpdateLeadParamsPayload'
    FlowActionSendgridSendEmailParams:
      type: object
      additionalProperties: true
      required:
        - connection_id
        - personalizations
        - from
      properties:
        connection_id:
          type: string
          maxLength: 30
          format: flows-vault-connections-id
        from:
          $ref: '#/components/schemas/FlowActionSendgridSendEmailParamsPerson'
        personalizations:
          type: array
          minItems: 1
          items: {}
    FlowActionSlackPostMessageParams:
      type: object
      additionalProperties: false
      required:
        - connection_id
      properties:
        connection_id:
          type: string
          maxLength: 30
          format: flows-vault-connections-id
        text:
          type: string
        attachments:
          type: array
          items:
            $ref: '#/components/schemas/FlowActionSlackPostMessageParamsAttachment'
    FlowActionStripeAddTaxIdParams:
      type: object
      additionalProperties: false
      required:
        - connection_id
        - customer_id
        - type
        - value
      properties:
        connection_id:
          type: string
          maxLength: 30
          format: flows-vault-connections-id
        customer_id:
          type: string
          maxLength: 250
        type:
          type: string
          maxLength: 250
        value:
          type: string
          maxLength: 250
    FlowActionStripeCreateCustomerParams:
      type: object
      additionalProperties: false
      required:
        - connection_id
      properties:
        connection_id:
          type: string
          maxLength: 30
          format: flows-vault-connections-id
        tax_id:
          $ref: '#/components/schemas/FlowActionStripeTaxId'
        name:
          type: string
          maxLength: 250
        description:
          type: string
          maxLength: 250
        email:
          type: string
          maxLength: 512
        phone:
          type: string
          maxLength: 250
        tax_exempt:
          type: string
        address:
          $ref: '#/components/schemas/FlowActionStripeAddress'
        metadata:
          $ref: '#/components/schemas/FlowActionStripeMetadata'
    FlowActionStripeCreatePortalSessionParams:
      type: object
      additionalProperties: false
      required:
        - connection_id
        - customer_id
      properties:
        connection_id:
          type: string
          maxLength: 30
          format: flows-vault-connections-id
        customer_id:
          type: string
          maxLength: 250
        return_url:
          type: string
    FlowActionStripeDeleteTaxIdParams:
      type: object
      additionalProperties: false
      required:
        - connection_id
        - customer_id
        - id
      properties:
        connection_id:
          type: string
          maxLength: 30
          format: flows-vault-connections-id
        customer_id:
          type: string
          maxLength: 250
        id:
          type: string
          maxLength: 250
    FlowActionStripeFindCustomersParams:
      type: object
      additionalProperties: false
      required:
        - connection_id
        - email
      properties:
        connection_id:
          type: string
          maxLength: 30
          format: flows-vault-connections-id
        email:
          type: string
    FlowActionStripeGetCustomerParams:
      type: object
      additionalProperties: false
      required:
        - connection_id
        - id
      properties:
        connection_id:
          type: string
          maxLength: 30
          format: flows-vault-connections-id
        id:
          type: string
          maxLength: 250
    FlowActionStripeUpdateCustomerParams:
      type: object
      additionalProperties: false
      required:
        - connection_id
        - id
      properties:
        connection_id:
          type: string
          maxLength: 30
          format: flows-vault-connections-id
        id:
          type: string
          maxLength: 250
        name:
          type: string
          maxLength: 250
        description:
          type: string
          maxLength: 250
        email:
          type: string
          maxLength: 512
        phone:
          type: string
          maxLength: 250
        tax_exempt:
          type: string
        address:
          $ref: '#/components/schemas/FlowActionStripeAddress'
        metadata:
          $ref: '#/components/schemas/FlowActionStripeMetadata'
    FlowActionTelegramSendMessageParams:
      type: object
      additionalProperties: false
      required:
        - connection_id
        - chat_id
        - text
      properties:
        connection_id:
          type: string
          maxLength: 30
          format: flows-vault-connections-id
        chat_id:
          type: string
        text:
          type: string
    FlowActionTwilioMakeCallParams:
      type: object
      additionalProperties: false
      required:
        - connection_id
        - from
        - to
        - payload
      properties:
        connection_id:
          type: string
          maxLength: 30
          format: flows-vault-connections-id
        from:
          type: string
        to:
          type: string
        payload:
          type: string
          maxLength: 4096
    FlowActionTwilioSendSmsParams:
      type: object
      additionalProperties: false
      required:
        - connection_id
        - from
        - to
        - message
      properties:
        connection_id:
          type: string
          maxLength: 30
          format: flows-vault-connections-id
        from:
          type: string
          maxLength: 50
        to:
          type: string
          maxLength: 50
        message:
          type: string
          maxLength: 1500
    FlowActionWhatsappSendMessageParams:
      type: object
      additionalProperties: false
      required:
        - connection_id
        - sender_id
        - recipient_number
        - type
        - payload
      properties:
        connection_id:
          type: string
          maxLength: 30
          format: flows-vault-connections-id
        sender_id:
          type: string
        recipient_number:
          type: string
        type:
          type: string
          enum:
            - AUDIO
            - CONTACTS
            - DOCUMENT
            - IMAGE
            - INTERACTIVE
            - LOCATION
            - STICKER
            - TEMPLATE
            - TEXT
        payload:
          $ref: '#/components/schemas/FlowActionWhatsappSendMessageParamsPayload'
    FlowActionXmlParseXmlParams:
      type: object
      additionalProperties: false
      required:
        - xml
      properties:
        xml:
          type: string
    FlowActionXmlSerializeXmlParams:
      type: object
      additionalProperties: false
      required:
        - object
      properties:
        object:
          $ref: '#/components/schemas/FlowActionXmlSerializeXmlParamsObject'
    FlowActionZapierTriggerWebhookParams:
      type: object
      additionalProperties: true
      required:
        - connection_id
      properties:
        connection_id:
          type: string
          maxLength: 30
          format: flows-vault-connections-id
        method:
          type: string
          enum:
            - GET
            - POST
            - PUT
    FlowActionActivecampaignUpsertContactParamsCustomFields:
      type: object
      additionalProperties: true
    FlowActionAirtableCreateRecordParamsFields:
      type: object
      additionalProperties: true
      properties: {}
    FlowActionAirtableUpdateRecordParamsFields:
      type: object
      additionalProperties: true
      properties: {}
    FlowActionAuth0CreateUserParamsPayload:
      type: object
      additionalProperties: true
      properties: {}
    FlowActionAuth0UpdateUserParamsChanges:
      type: object
      additionalProperties: true
      properties: {}
    FlowActionAuth0SendRequestParamsHeaders:
      type: object
      additionalProperties: true
    FlowActionAuth0SendRequestParamsQueryParams:
      type: object
      additionalProperties:
        oneOf:
          - type: number
          - type: string
          - type: 'null'
    FlowActionAuth0SendRequestParamsPayload:
      oneOf:
        - type: string
        - type: array
          items: {}
        - $ref: '#/components/schemas/FlowActionAuth0SendRequestParamsPayloadObject'
    FlowActionAuth0SendEmailParamsFrom:
      type: object
      additionalProperties: false
      required:
        - email
      properties:
        name:
          type: string
          minLength: 1
          maxLength: 125
        email:
          $ref: '#/components/schemas/FlowActionAuth0SendEmailParamsFromEmail'
    FlowActionAuth0SendEmailParamsTo:
      type: string
      oneOf:
        - type: string
          format: email
        - type: string
          format: forms-expression
    FlowActionAuth0SendRequestParamsCustomVars:
      type: object
      additionalProperties: true
    FlowActionAuth0SendSmsParamsCustomVars:
      type: object
      additionalProperties: true
    FlowActionAuth0MakeCallParamsCustomVars:
      type: object
      additionalProperties: true
    FlowActionBigqueryInsertRowsParamsData:
      type: object
      additionalProperties: true
      properties: {}
    FlowActionEmailVerifyEmailParamsRules:
      type: object
      additionalProperties: false
      properties:
        require_mx_record:
          type: boolean
        block_aliases:
          type: boolean
        block_free_emails:
          type: boolean
        block_disposable_emails:
          type: boolean
        blocklist:
          type: array
          items:
            type: string
        allowlist:
          type: array
          items:
            type: string
    FlowActionFlowDelayFlowParamsNumber:
      oneOf:
        - type: integer
          minimum: 0
        - type: string
          maxLength: 250
    FlowActionFlowMapValueParamsInput:
      oneOf:
        - type: string
        - type: number
    FlowActionFlowMapValueParamsCases:
      type: object
      additionalProperties: true
      properties: {}
    FlowActionFlowMapValueParamsFallback:
      oneOf:
        - type: string
        - type: number
        - $ref: '#/components/schemas/FlowActionFlowMapValueParamsFallbackObject'
        - type: array
          items: {}
        - type: 'null'
    FlowActionFlowReturnJsonParamsPayload:
      oneOf:
        - $ref: '#/components/schemas/FlowActionFlowReturnJsonParamsPayloadObject'
        - type: string
    FlowActionFlowStoreVarsParamsVars:
      type: object
      additionalProperties: true
      properties: {}
    FlowActionGoogleSheetsAddRowParamsSheetId:
      oneOf:
        - type: integer
          minimum: 0
        - type: string
    FlowActionGoogleSheetsAddRowParamsValues:
      type: array
      items:
        type:
          - string
          - 'null'
    FlowActionHttpSendRequestParamsHeaders:
      type: object
      additionalProperties: true
    FlowActionHttpSendRequestParamsBasicAuth:
      type: object
      additionalProperties: false
      properties:
        username:
          type: string
          minLength: 1
        password:
          type: string
          minLength: 1
    FlowActionHttpSendRequestParamsQueryParams:
      type: object
      additionalProperties:
        oneOf:
          - type: number
          - type: string
          - type: 'null'
    FlowActionHttpSendRequestParamsPayload:
      oneOf:
        - type: string
        - type: array
          items: {}
        - $ref: '#/components/schemas/FlowActionHttpSendRequestParamsPayloadObject'
    FlowActionHubspotEnrollContactParamsWorkflowId:
      oneOf:
        - type: string
        - type: integer
    FlowActionHubspotUpsertContactParamsProperty:
      type: object
      additionalProperties: false
      required:
        - property
      properties:
        property:
          type: string
          maxLength: 100
        value: {}
    FlowActionJsonCreateJsonParamsObject:
      type: object
      additionalProperties: true
      properties: {}
    FlowActionJsonSerializeJsonParamsObject:
      oneOf:
        - type: string
        - $ref: '#/components/schemas/FlowActionJsonSerializeJsonParamsObjectObject'
    FlowActionJwtSignJwtParamsPayload:
      type: object
      additionalProperties: true
      properties: {}
    FlowActionMailchimpUpsertMemberParamsMember:
      type: object
      additionalProperties: false
      required:
        - email_address
        - status_if_new
      properties:
        email_address:
          type: string
        status_if_new:
          type: string
        merge_fields:
          $ref: >-
            #/components/schemas/FlowActionMailchimpUpsertMemberParamsMemberMergeFields
    FlowActionOtpVerifyCodeParamsCode:
      oneOf:
        - type: integer
          minimum: 0
          maximum: 9999999999
        - type: string
          maxLength: 250
    FlowActionPipedriveAddDealParamsUserId:
      oneOf:
        - type: string
        - type: number
    FlowActionPipedriveAddDealParamsPersonId:
      oneOf:
        - type: string
        - type: number
    FlowActionPipedriveAddDealParamsOrganizationId:
      oneOf:
        - type: string
        - type: number
    FlowActionPipedriveAddDealParamsStageId:
      oneOf:
        - type: string
        - type: number
    FlowActionPipedriveAddDealParamsFields:
      type: object
      additionalProperties: true
      properties: {}
    FlowActionPipedriveAddOrganizationParamsOwnerId:
      oneOf:
        - type: string
        - type: number
    FlowActionPipedriveAddOrganizationParamsFields:
      type: object
      additionalProperties: true
      properties: {}
    FlowActionPipedriveAddPersonParamsOwnerId:
      oneOf:
        - type: string
        - type: number
    FlowActionPipedriveAddPersonParamsOrganizationId:
      oneOf:
        - type: string
        - type: number
    FlowActionPipedriveAddPersonParamsFields:
      type: object
      additionalProperties: true
      properties: {}
    FlowActionSalesforceCreateLeadParamsPayload:
      type: object
      additionalProperties: true
      properties: {}
    FlowActionSalesforceUpdateLeadParamsPayload:
      type: object
      additionalProperties: true
      properties: {}
    FlowActionSendgridSendEmailParamsPerson:
      type: object
      additionalProperties: false
      required:
        - email
      properties:
        name:
          type: string
        email:
          type: string
    FlowActionSlackPostMessageParamsAttachment:
      type: object
      additionalProperties: false
      properties:
        color:
          type: string
          enum:
            - GOOD
            - WARNING
            - DANGER
        pretext:
          type: string
        text:
          type: string
        fields:
          type: array
          items:
            $ref: >-
              #/components/schemas/FlowActionSlackPostMessageParamsAttachmentField
    FlowActionStripeTaxId:
      type: object
      additionalProperties: false
      required:
        - type
        - value
      properties:
        type:
          type: string
          maxLength: 250
        value:
          type: string
          maxLength: 250
    FlowActionStripeAddress:
      type: object
      additionalProperties: false
      properties:
        line1:
          type: string
          maxLength: 250
        line2:
          type: string
          maxLength: 250
        postalCode:
          type: string
          maxLength: 250
        city:
          type: string
          maxLength: 250
        state:
          type: string
          maxLength: 250
        country:
          type: string
          maxLength: 250
    FlowActionStripeMetadata:
      type: object
      additionalProperties:
        type: string
        maxLength: 500
      maxProperties: 50
    FlowActionWhatsappSendMessageParamsPayload:
      oneOf:
        - $ref: >-
            #/components/schemas/FlowActionWhatsappSendMessageParamsPayloadObject
        - type: string
    FlowActionXmlSerializeXmlParamsObject:
      oneOf:
        - type: string
        - $ref: '#/components/schemas/FlowActionXmlSerializeXmlParamsObjectObject'
    FlowActionAuth0SendRequestParamsPayloadObject:
      type: object
      additionalProperties: true
      properties: {}
    FlowActionAuth0SendEmailParamsFromEmail:
      type: string
      oneOf:
        - type: string
          format: email
        - type: string
          format: forms-expression
    FlowActionFlowMapValueParamsFallbackObject:
      type: object
      additionalProperties: true
    FlowActionFlowReturnJsonParamsPayloadObject:
      type: object
      additionalProperties: true
      properties: {}
    FlowActionHttpSendRequestParamsPayloadObject:
      type: object
      additionalProperties: true
      properties: {}
    FlowActionJsonSerializeJsonParamsObjectObject:
      type: object
      additionalProperties: true
      properties: {}
    FlowActionMailchimpUpsertMemberParamsMemberMergeFields:
      type: object
      additionalProperties: true
      properties: {}
    FlowActionSlackPostMessageParamsAttachmentField:
      type: object
      additionalProperties: false
      required:
        - title
      properties:
        title:
          type: string
        value:
          type: string
          minLength: 0
        short:
          type: boolean
    FlowActionWhatsappSendMessageParamsPayloadObject:
      type: object
      additionalProperties: true
      properties: {}
    FlowActionXmlSerializeXmlParamsObjectObject:
      type: object
      additionalProperties: true
      properties: {}
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: jwt
    oAuth2ClientCredentials:
      type: oauth2
      flows:
        clientCredentials:
          tokenUrl: /oauth/token/
          x-form-parameters:
            audience: /api/v2/
          scopes:
            create:actions: Create Actions
            read:actions: Read Actions
            update:actions: Update Actions
            delete:actions: Delete Actions
            read:anomaly_blocks: Read Anomaly Blocks
            delete:anomaly_blocks: Delete Anomaly Blocks
            read:attack_protection: Read Attack Protection
            update:attack_protection: Update Attack Protection
            create:authentication_methods: Create Authentication Methods
            read:authentication_methods: Read Authentication Methods
            update:authentication_methods: Update Authentication Methods
            delete:authentication_methods: Delete Authentication Methods
            read:branding: Read Branding
            update:branding: Update Branding
            delete:branding: Delete Branding
            create:client_credentials: Create Client Credentials
            read:client_credentials: Read Client Credentials
            update:client_credentials: Update Client Credentials
            delete:client_credentials: Delete Client Credentials
            create:client_grants: Create Client Grants
            read:client_grants: Read Client Grants
            update:client_grants: Update Client Grants
            delete:client_grants: Delete Client Grants
            read:client_keys: Read Client Keys
            update:client_keys: Update Client Keys
            read:client_summary: Read Client Summary
            update:client_token_vault_privileged_access: Update Client Token Vault Privileged Access
            create:clients: Create Clients
            read:clients: Read Clients
            update:clients: Update Clients
            delete:clients: Delete Clients
            create:connection_profiles: Create Connection Profiles
            read:connection_profiles: Read Connection Profiles
            update:connection_profiles: Update Connection Profiles
            delete:connection_profiles: Delete Connection Profiles
            create:connections: Create Connections
            read:connections: Read Connections
            update:connections: Update Connections
            delete:connections: Delete Connections
            create:connections_keys: Create Connections Keys
            read:connections_keys: Read Connections Keys
            update:connections_keys: Update Connections Keys
            read:current_user: Read Current User
            delete:current_user: Delete Current User
            create:current_user_device_credentials: Create Current User Device Credentials
            delete:current_user_device_credentials: Delete Current User Device Credentials
            update:current_user_identities: Update Current User Identities
            update:current_user_metadata: Update Current User Metadata
            create:custom_domains: Create Custom Domains
            read:custom_domains: Read Custom Domains
            update:custom_domains: Update Custom Domains
            delete:custom_domains: Delete Custom Domains
            create:custom_signing_keys: Create Custom Signing Keys
            read:custom_signing_keys: Read Custom Signing Keys
            update:custom_signing_keys: Update Custom Signing Keys
            delete:custom_signing_keys: Delete Custom Signing Keys
            read:device_credentials: Read Device Credentials
            delete:device_credentials: Delete Device Credentials
            create:directory_provisionings: Create Directory Provisionings
            read:directory_provisionings: Read Directory Provisionings
            update:directory_provisionings: Update Directory Provisionings
            delete:directory_provisionings: Delete Directory Provisionings
            create:email_provider: Create Email Provider
            read:email_provider: Read Email Provider
            update:email_provider: Update Email Provider
            delete:email_provider: Delete Email Provider
            create:email_templates: Create Email Templates
            read:email_templates: Read Email Templates
            update:email_templates: Update Email Templates
            create:encryption_keys: Create Encryption Keys
            read:encryption_keys: Read Encryption Keys
            update:encryption_keys: Update Encryption Keys
            delete:encryption_keys: Delete Encryption Keys
            read:event_deliveries: Read Event Deliveries
            update:event_deliveries: Update Event Deliveries
            create:event_streams: Create Event Streams
            read:event_streams: Read Event Streams
            update:event_streams: Update Event Streams
            delete:event_streams: Delete Event Streams
            read:events: Read Events
            create:experimentation: Create Experimentation
            read:experimentation: Read Experimentation
            update:experimentation: Update Experimentation
            delete:experimentation: Delete Experimentation
            read:federated_connections_tokens: Read Federated Connections Tokens
            delete:federated_connections_tokens: Delete Federated Connections Tokens
            create:flows: Create Flows
            read:flows: Read Flows
            update:flows: Update Flows
            delete:flows: Delete Flows
            read:flows_executions: Read Flows Executions
            delete:flows_executions: Delete Flows Executions
            create:flows_vault_connections: Create Flows Vault Connections
            read:flows_vault_connections: Read Flows Vault Connections
            update:flows_vault_connections: Update Flows Vault Connections
            delete:flows_vault_connections: Delete Flows Vault Connections
            create:forms: Create Forms
            read:forms: Read Forms
            update:forms: Update Forms
            delete:forms: Delete Forms
            read:grants: Read Grants
            delete:grants: Delete Grants
            read:group_members: Read Group Members
            create:group_roles: Create Group Roles
            read:group_roles: Read Group Roles
            delete:group_roles: Delete Group Roles
            read:groups: Read Groups
            delete:groups: Delete Groups
            create:guardian_enrollment_tickets: Create Guardian Enrollment Tickets
            read:guardian_enrollments: Read Guardian Enrollments
            delete:guardian_enrollments: Delete Guardian Enrollments
            read:guardian_factors: Read Guardian Factors
            update:guardian_factors: Update Guardian Factors
            create:hooks: Create Hooks
            read:hooks: Read Hooks
            update:hooks: Update Hooks
            delete:hooks: Delete Hooks
            create:log_streams: Create Log Streams
            read:log_streams: Read Log Streams
            update:log_streams: Update Log Streams
            delete:log_streams: Delete Log Streams
            read:logs: Read Logs
            read:logs_users: Read Logs Users
            read:mfa_policies: Read Mfa Policies
            update:mfa_policies: Update Mfa Policies
            create:network_acls: Create Network Acls
            read:network_acls: Read Network Acls
            update:network_acls: Update Network Acls
            delete:network_acls: Delete Network Acls
            create:organization_client_grants: Create Organization Client Grants
            read:organization_client_grants: Read Organization Client Grants
            delete:organization_client_grants: Delete Organization Client Grants
            create:organization_connections: Create Organization Connections
            read:organization_connections: Read Organization Connections
            update:organization_connections: Update Organization Connections
            delete:organization_connections: Delete Organization Connections
            create:organization_discovery_domains: Create Organization Discovery Domains
            read:organization_discovery_domains: Read Organization Discovery Domains
            update:organization_discovery_domains: Update Organization Discovery Domains
            delete:organization_discovery_domains: Delete Organization Discovery Domains
            create:organization_group_roles: Create Organization Group Roles
            read:organization_group_roles: Read Organization Group Roles
            delete:organization_group_roles: Delete Organization Group Roles
            read:organization_groups: Read Organization Groups
            create:organization_invitations: Create Organization Invitations
            read:organization_invitations: Read Organization Invitations
            delete:organization_invitations: Delete Organization Invitations
            read:organization_member_effective_roles: Read Organization Member Effective Roles
            read:organization_member_role_source_groups: Read Organization Member Role Source Groups
            create:organization_member_roles: Create Organization Member Roles
            read:organization_member_roles: Read Organization Member Roles
            delete:organization_member_roles: Delete Organization Member Roles
            create:organization_members: Create Organization Members
            read:organization_members: Read Organization Members
            delete:organization_members: Delete Organization Members
            create:organizations: Create Organizations
            read:organizations: Read Organizations
            update:organizations: Update Organizations
            delete:organizations: Delete Organizations
            read:organizations_summary: Read Organizations Summary
            create:phone_providers: Create Phone Providers
            read:phone_providers: Read Phone Providers
            update:phone_providers: Update Phone Providers
            delete:phone_providers: Delete Phone Providers
            create:phone_templates: Create Phone Templates
            read:phone_templates: Read Phone Templates
            update:phone_templates: Update Phone Templates
            delete:phone_templates: Delete Phone Templates
            read:prompts: Read Prompts
            update:prompts: Update Prompts
            create:rate_limit_policies: Create Rate Limit Policies
            read:rate_limit_policies: Read Rate Limit Policies
            update:rate_limit_policies: Update Rate Limit Policies
            delete:rate_limit_policies: Delete Rate Limit Policies
            read:refresh_tokens: Read Refresh Tokens
            update:refresh_tokens: Update Refresh Tokens
            delete:refresh_tokens: Delete Refresh Tokens
            create:resource_servers: Create Resource Servers
            read:resource_servers: Read Resource Servers
            update:resource_servers: Update Resource Servers
            delete:resource_servers: Delete Resource Servers
            create:role_members: Create Role Members
            read:role_members: Read Role Members
            delete:role_members: Delete Role Members
            create:roles: Create Roles
            read:roles: Read Roles
            update:roles: Update Roles
            delete:roles: Delete Roles
            create:rules: Create Rules
            read:rules: Read Rules
            update:rules: Update Rules
            delete:rules: Delete Rules
            read:rules_configs: Read Rules Configs
            update:rules_configs: Update Rules Configs
            delete:rules_configs: Delete Rules Configs
            create:scim_config: Create Scim Config
            read:scim_config: Read Scim Config
            update:scim_config: Update Scim Config
            delete:scim_config: Delete Scim Config
            create:scim_token: Create Scim Token
            read:scim_token: Read Scim Token
            delete:scim_token: Delete Scim Token
            read:self_service_profile_custom_texts: Read Self Service Profile Custom Texts
            update:self_service_profile_custom_texts: Update Self Service Profile Custom Texts
            create:self_service_profiles: Create Self Service Profiles
            read:self_service_profiles: Read Self Service Profiles
            update:self_service_profiles: Update Self Service Profiles
            delete:self_service_profiles: Delete Self Service Profiles
            read:sessions: Read Sessions
            update:sessions: Update Sessions
            delete:sessions: Delete Sessions
            create:signing_keys: Create Signing Keys
            read:signing_keys: Read Signing Keys
            update:signing_keys: Update Signing Keys
            create:sso_access_tickets: Create Sso Access Tickets
            delete:sso_access_tickets: Delete Sso Access Tickets
            read:stats: Read Stats
            read:tenant_settings: Read Tenant Settings
            update:tenant_settings: Update Tenant Settings
            create:token_exchange_profiles: Create Token Exchange Profiles
            read:token_exchange_profiles: Read Token Exchange Profiles
            update:token_exchange_profiles: Update Token Exchange Profiles
            delete:token_exchange_profiles: Delete Token Exchange Profiles
            create:user_attribute_profiles: Create User Attribute Profiles
            read:user_attribute_profiles: Read User Attribute Profiles
            update:user_attribute_profiles: Update User Attribute Profiles
            delete:user_attribute_profiles: Delete User Attribute Profiles
            read:user_effective_permissions: Read User Effective Permissions
            read:user_effective_roles: Read User Effective Roles
            read:user_idp_tokens: Read User Idp Tokens
            read:user_permission_source_roles: Read User Permission Source Roles
            read:user_role_source_groups: Read User Role Source Groups
            create:user_tickets: Create User Tickets
            create:users: Create Users
            read:users: Read Users
            update:users: Update Users
            delete:users: Delete Users
            update:users_app_metadata: Update Users App Metadata
            create:vdcs_templates: Create Vdcs Templates
            read:vdcs_templates: Read Vdcs Templates
            update:vdcs_templates: Update Vdcs Templates
            delete:vdcs_templates: Delete Vdcs Templates

````