YellowAnt Help Center
  • Overview
  • How to Signup
    • Signup with Slack
    • Signup with MS Teams
    • Signup with Email
    • Inviting Team Members
  • Managing Dashboard
    • Applications
    • Command Workflows
    • Event Workflows
    • Select Teams
    • Console
    • Settings
    • External Links
  • Integrating Applications
    • Marketplace and App Categories
    • Adding an Integration
    • Applications on YellowAnt
      • Airbrake
      • Airtable
      • Alexa
      • Asana
      • AWS Cloudwatch
      • Azure DevOps
      • Bitbucket
      • Circle CI
      • Evernote
      • Freshdesk
      • Github
      • Gmail
      • Google Analytics
      • Google Calander
      • Google Contacts
      • Google Drive
      • HubSpot
      • Jenkins
      • Jira
      • JiraO
      • New Relic
      • Outlook Mail
      • Pagerduty
      • Pivotal Tracker
      • RSS
      • Salesforce
      • Sentry
      • ServiceNow
      • StackExchange
      • Trello
      • Twitter
      • VictorOps
      • Wikipedia
      • YouTube
      • Zendesk
  • Commanding Apps
  • Notifications
  • Workflows
    • Command Workflows
      • Building Command Workflows
        • Trigger
        • Collection
        • Action
        • Using Action Outputs
        • Logical Functions
        • Using Conditional Actions
    • Event Workflows
      • Building Event Workflows
        • Trigger
        • Collection
        • Action
        • Using Action Outputs
        • Logical Functions
        • Using Conditonal Actions
    • Using Templates
  • System Commands
  • Plans and Pricing
  • Developer Community
Powered by GitBook
On this page
  • FOR function:
  • IFELSE function:
  1. Workflows
  2. Command Workflows
  3. Building Command Workflows

Using Conditional Actions

PreviousLogical FunctionsNextEvent Workflows

Last updated 7 years ago

You can also take actions based on conditions. The conditional functions available in YellowAnt are “for” and “ifelse”"for" and "ifelse" conditional actions are available in YellowAnt

FOR function:

The “for” function allows you to take an action for every item in a list. To use the “for” function, select it as an action when you add an action.

list_inputs: This is the list which will be looped and action will be taken on every item in the list. Pick from the dynamic content that becomes available when you click in the field

IFELSE function:

The if-else function allows you to you check a dynamic input for a condition and perform actions based on whether or not they are true.using "ifelse" conditional action

condition: Once you select the ifelse function, a variety of formulas will be available to apply on your dynamic inputs:

  • contains (checks for whether a string is in a parent string)

  • and (combines 2 conditions such that the function is only true if both conditions are true)

  • Or (combines 2 conditions such that the function is true if either condition is true)

  • lt (checks whether the variable on the left is less than the variable on the right)

  • gt (checks whether the variable on the left is greater than the variable on the right)

  • lte (checks whether the variable on the left is less or equal to than the variable on the right)

  • gte (checks whether the variable on the left is greater than or equal to the variable on the right)

  • not equal (compares 2 values and returns True if they are unequal)

  • equal (compares 2 values and returns True if they are equal)

  • expression (custom logic)

action: This is the action that will be repeated for each item in list_inputs. You can add this action just like an “” stepAn example of using the "for" conditional action

true-action: This action will be executed if the condition is TRUE. You can add this action just like an “” step

false-action: This action will be executed if the condition is FALSE. You can add this action just like an ” step

Add Action
Add Action
“Add Action