Calculator Block

The Calculator Block allows you to perform mathematical operations directly inside your chatbot or automation flow.

How to Use Calculator Block

  1. In your Bot Flow, click on Add Node.

  2. Select Add Automation App.

  3. Search for Calculator.

  4. Choose the required operation:

    • Add

    • Subtract

    • Multiply

    • Divide

    • SIP

    • Multiply V2

  5. Enter or map the First Value (e.g., quantity from bot field).

  6. Enter the Second Value (e.g., price or another number).

  7. Click Run to test the calculation.

  8. Click Save to apply it in the flow.

Example

If a user enters 5 tickets and each ticket costs 100, select Multiply:

  • First Value → quantity

  • Second Value → 100

Output → 500

You can then save this output into a variable and use it in messages, confirmations, or further automation steps.

The Calculator block is useful for dynamic pricing, totals, discounts, tax calculations, EMI, SIP, and other numeric operations within your WhatsApp chat flow.

Last updated

Was this helpful?