Switch Toggle Input Element

I want to make the switch to do 2 different call REST services based on being on or off. Is that possible to make?
1 answers

For anyone interested in the answer:

  1. Make a parameter with the data type set as object and select the entity which has your switch.
  2. In the microflow, add a decision that calls your switch entity name. Example: $Control/Switch
  3. Set up the 2 Call REST (GET), setting the API location depending on true and false, aka 1 and 0. (Do need to store in variable).