Plumber user guide
Click here if you can't view this page properlyGo to appSupport
  • 👩‍🔧Plumber
  • Login to Plumber
  • 💼Popular Workflows
    • 🔀ALL WORKFLOWS
    • 🔔Notifications for FormSG
    • 📨FormSG and SMS integration
    • 📧Email acknowledgements to respondent
    • 🔥Get updated on urgent requests w/ Telegram
    • ☎️Keep mailing lists updated
    • ✔️Attendance taking
    • 🤝Dynamic response based on respondent selections
  • 📖User guides
    • Executions page
    • Pipe settings
    • Triggers
      • 📃FormSG
      • ⚙️Webhooks
      • 🕐Scheduler
    • Actions
      • 🔷Tiles
      • 📊M365 Excel (.gov.sg Agencies only)
      • ✉️LetterSG
      • 📪Email by Postman
      • ☎️SMS by Postman
      • 🗂️Vault workspace
      • #️⃣Slack
      • 💵PaySG
      • ☎️Telegram
      • 💼Toolbox
      • 🌉Custom API
  • Help!!!
    • ⁉️FAQ
    • 🧑Contact us
  • Legal
    • Terms of Use
    • Government Agency Privacy Statement
Powered by GitBook
On this page
  • Available Actions
  • If-then
  • Only Continue If
  • Supported comparisons for data types
  • All types
  • Text
  • Number
  • Date

Was this helpful?

  1. User guides
  2. Actions

Toolbox

Toolbox contains a selection of useful actions, such as conditional logic, that enables you to control what actions your pipes run.

PreviousTelegramNextCustom API

Last updated 5 months ago

Was this helpful?

Available Actions

  • - Make your pipe run different actions depending on desired conditions

  • - Stop your pipe from running if it did not receive the desired input

If-then

Do note if you have an existing pipe, "if-then" will only appear at the last step.

  1. Select Toolbox as the app

  2. Select If-then as the action event.

Initial Set-up

  1. Once you have selected the If-then action, 2 branches will appear (a branch is a set of actions that you want your pipe to run when certain conditions are met):

  2. Click on one of the branches. A window will appear where you can configure your desired condition, as well as actions to take if the condition is met: You can give your branch an unique name to avoid any confusion under "Branch Name"

Configuring your condition

  1. In the "Field" input box, select the variable that you want to check.

  2. In the "Is or Is Not" and "Condition" input boxes, configure the logical rule you want to apply.

  3. Finally, in the "Value" field, input the value that you want to compare the variable against.

  4. You can also click the "And" button to add more logical rules.

Test condition

  1. Click Test Step.

  2. If the test data has met the conditions, you’ll see a confirmation that the Pipe would have continued.

  3. If the test data has not met the conditions, you’ll see a confirmation that the Pipe would not have continued. This doesn't stop you from building your pipe.

Adding actions

  1. Verify that you are in the desired branch's window. The background should be pink and you should see "back to pipe" in the top left corner.

  2. You can add actions by clicking the "+" button in between steps.

Only Continue If

Initial Set-up

  1. Select Toolbox as the app.

  2. Select Only continue if... as the action event.

Set up action

  1. In the "Field" input box, select the variable that you want to check.

  2. In the "Is or Is Not" and "Condition" input boxes, configure the logical rule you want to apply.

  3. Finally, in the "Value" field, input the value that you want to compare the variable against.

  4. You can also click the "And" button to add more logical rules.

Test action

  1. Click Test step.

Supported comparisons for data types

All types

  1. Equals to

  2. Empty

Text

  1. Contains

Number

  1. Less than

  2. Less than or equals to

  3. Greater than

  4. Greater than or equals to

Date

  1. Before

  2. After

Supported date/time formats:

30/12/24 
30/12/2024 
30 Dec 2024
30 December 2024
2024/12/30
30 Dec 2024 13:30 PM 
30 Dec 2024 13:30:59 PM 

If the test data has met the conditions, you’ll see a confirmation that the Pipe would have continued. If the test data has not met the conditions, you’ll see a confirmation that the Pipe would not have continued.

📖
💼
If-then
Only Continue If
Default If-then branches