Use Cases
Native Action Use Cases
If/Else Use Case
3 min
decrease complexity and increase customizability in your playbook by using if and else conditional statements with the turbine condition native action scenario aaliyah is an orchestrator who wants her playbook to execute if the http request comes back with a specific status code to accomplish this, aaliyah needs to use the condition native action to build if and else conditional statements let's take a look! as an orchestrator, aaliyah already knows how to create and configure her playbooks docid 4dm50bi5gulqpvzvn0z7u and add an actions docid\ e5uucqhz2w2r bsvhfdnk so she's ready to jump right in! first, select the http request native action and choose an on success action flow now that aaliyah has her first action, she's ready for the native action in the playbook, click add an action in the action drop down menu, select the native action condition click edit condition aaliyah needs to set up a conditional logic she adds her first condition by opening the condition configuration builder select status code value in the drop down menu, select is equal to enter 100 this status code allows information to continue processing if the status code is not equal to 100, the criteria is not met, which means that the conditional statement is false conclusion aaliyah has the beginning of her playbook set up to ensure that if the http request processes successfully she can continue building out the playbook's actions