Domino Docs
  • Welcome
  • Introduction
    • Basics
    • How to Build your first Automation
    • How to get Started With a Template
    • How to launch a quest to Zealy using Domino
    • Key Terms in Domino
  • Use Cases
    • Automate Zealy Quest Reviews
    • Quest verification API for in-app quests
  • Inputs/Outputs
    • What are Inputs
    • Adding Inputs to a Step
    • Format Inputs
    • Automation Inputs
    • Telegram chat ID
  • Automation History
    • View and manage your Automation history
  • Wallets
    • What are Wallets
    • Domino Generated Wallet
    • Linked Browser Wallet
  • Billing
    • What are Tasks?
    • How can I pay for Domino
  • Partners
    • 🤝Partner kit
  • Team
    • Organization
Powered by GitBook
On this page
  1. Inputs/Outputs

Format Inputs

Doing math with inputs

PreviousAdding Inputs to a StepNextAutomation Inputs

Last updated 1 year ago

You can perform various mathematical functions with your inputs, such as multiplying an input by a number or adding two inputs together.

Here are a few examples used in NFT related automations:

  • Automatically Outbidding: Fetch the top bid and place a new bid at the ‘Top Bid + 0.0001’.

  • Setting a Stop Loss: Fetch the Floor price and your purchase price, then list when ‘Floor - Last purchase price < 0'.

  • Alert on a Fat Finger Listing: Receive a notification when 'Listing Price is < Floor price * 0.5’.

Here are the steps to perform mathematical operations with inputs:

  1. Click on an input field and select some data from a previous step.

  2. Click on the blue input placeholder you've just added and click format

  3. Pick a function you want to do, for example multiply

  4. Type in or add another input to multiply your original input with.

Tip: You can test your formula by testing your step and looking at the step's outputs.

Note: Domino uses standard LiquidJS formulas for mathematical functions. Learn about all supported LiquidJS functions .

Tip: Click on Raw to see and edit a variable directly in LiquidJS.

here