// workflows/new

Build a workflow.

Pick the capabilities, say where each field gets its value, and run it before you save it. Building one costs nothing: what an account changes is where it is kept. Every rule the server enforces is checked here as you type, so saving cannot fail for a reason you could not see.

This is the "What does this mortgage really cost?" example with its sample values filled in. It is not saved yet: change anything, test it, then save it as your own.
· What it is called
· What it asks for

Declare a value here when it changes from run to run. Steps read it by its key. Anything that never changes belongs in the step itself as a fixed value, not here. A workflow may declare up to 10 inputs, and none at all is fine.

· What it does

Steps run top to bottom, one after another. A step can use a fixed value, one of the inputs above, or the output of any step above it. Up to 12 steps.

Every one of its 2 steps is pure computation, so a test run in the builder happens on your own machine and costs nothing. Your input is not sent to us for it.

Run from your saved workflows, from your code or from an assistant, the work happens on our machines and is metered: 2 credits, one call per step across 2 steps.

Adding a step that needs our side, meaning anything touching a key we hold, a database, the network or a file, would move the whole run onto our servers and it would be charged there too.

· Step 1 of 2 · 1 credit

Loan Calculator

Work out an annuity loan from the amount, annual interest rate and term: the fixed monthly payment, total paid, total interest and an amortisation schedule of up to 360 months showing principal, interest and remaining balance.

Reads: amount from input "amount" · annualRatePercent from input "rate" · term from input "years" · termUnit is fixed

Gives back:amount numberannualRatePercent numbertermMonths numbermonthlyPayment numbertotalPaid numbertotalInterest numberinterestToPrincipalRatio numberschedule listscheduleTruncated yes/no, usable by every step below as “Output of an earlier step”
· Where each field comes from
amount (required)Number

How much is borrowed. Example: 250000

annualRatePercent (required)Number

Yearly interest rate in percent. Example: 4.5

term (required)Number

How long the loan runs, in years by default. Example: 30

termUnit (optional)Text (String)

years (default) or months. Example: years

What this step gives back
{
  "amount": 250000,
  "annualRatePercent": 4.5,
  "termMonths": 360,
  "monthlyPayment": 1266.71,
  "totalPaid": 456016.78,
  "totalInterest": 206016.78,
  "interestToPrincipalRatio": 0.82,
  "schedule": [
    {
      "month": 1,
      "payment": 1266.71,
      "principal": 329.21,
      "interest": 937.5,
      "balance": 249670.79
    }
  ],
  "scheduleTruncated": false
}

A later step reading this one can take the whole object, or a path into it such as amount.

· Step 2 of 2 · 1 credit

Percentage Calculator

Answer one percentage question from two numbers: what x% of y is, what percent x is of y, the percentage change from x to y, or x increased or decreased by y%. Returns the number and a sentence stating it.

Reads: mode is fixed · x from "totalInterest" of Loan payment · y from "amount" of Loan payment

Gives back:mode textx numbery numberresult numberresultIsPercent yes/nosentence text
· Where each field comes from
mode (required)Text (String)

One of percentOf, whatPercent, change, increase or decrease. Example: percentOf

x (required)Number

First number. For percentOf this is the percentage, for the other modes the starting amount. Example: 15

Takes number from “Loan payment, for example 206016.78.
y (required)Number

Second number. The base amount, the new value for change, or the percentage for increase and decrease. Example: 200

Takes number from “Loan payment, for example 250000.
What this step gives back
{
  "mode": "percentOf",
  "x": 15,
  "y": 200,
  "result": 30,
  "resultIsPercent": false,
  "sentence": "15% of 200 is 30."
}

A later step reading this one can take the whole object, or a path into it such as mode.

· Test it before you save

This runs the workflow exactly as written, without saving it. It uses the real capabilities, so what you see is what a later run will do. Inputs are prefilled from the examples you gave them.

Stays on your device

This runs in your browser. What you put in is never sent to ToolForte, so we could not read it if we wanted to.

One exception, so the sentence above stays true: when a run finishes here we record that it happened, which ready made workflow it came from if it came from one, how many steps it had and how long it took. Never what you put in, never what came back, and never anything written into the steps themselves. It is how we can tell which tools are worth keeping.

Runs in your browser. No credits, nothing sent to us.
Saved in this browser

This is saved by your browser on this device. It is not sent to ToolForte, so it is not on your other devices and we cannot recover it for you.

Clearing your browser data removes it, and so does the delete button here.

Leave without savingUnsaved changes.