Skip to content

AI text steps ​

These four actions make one request to the AI and hand the answer to later steps.

ActionYou give itIt returns
Sort into a categoryText, and a list of categoriescategory (one of yours, spelled as you wrote it) and confidence (0 to 1)
Pull out detailsText, and a list of details to findOne value per detail, named as you wrote it. Empty when the text does not say.
SummariseTexttext: a few plain sentences
Write or answerAn instructiontext: what the AI wrote, with no preamble

Read a result in a later step as {{steps.<step id>.<value>}}, for example {{steps.sort.category}}.

Typical use: sort an incoming message with Sort into a category, then use a Switch on steps.sort.category to send each kind down its own path.

If Sort into a category answers with something that is not one of your categories, the step fails with "AI answered ..., which is not one of the categories". Make the categories distinct and few.

Read a file ​

Each one-shot step has an optional File setting. Give it a link to a file and the AI reads the file along with your text.

File typeHow it is read
PicturesAs an image.
PDFsPage by page, as images.
Spreadsheets (.xlsx, .csv)The first sheet, as text.

Rules:

  • The link must be to a file in your Cashfin media. The usual source is {{fileurl}} from the File uploaded trigger. Any other address is refused with "the file to read must be a link to a file in your Cashfin media".
  • Other file types are refused with "AI steps can read pictures, PDFs and spreadsheets (.xlsx, .csv); this file is not one of those".
  • A file that is too large is refused with a message giving the limit.

Cashfin Business API Documentation