Built-in tool

Extract Text

Flatten an array of structured objects (Notion blocks, Slack messages, HTML elements, or custom paths) into one plain-text string.

Freeno per-call chargeNo API key needed

Endpoint

Parameters

NameTypeRequiredNote
inputArraystring · requiredstringrequired

The array of objects to extract text from. Each object in the array is traversed for text content.

sourceFormatstring · requiredstringrequired

The format of the input data. Determines how text is located within each object.

One of: notion-blocks (Notion blocks), slack-messages (Slack messages), html-elements (HTML elements), custom (Custom)

textFieldPathstring · required if sourceFormat is customstringrequired if sourceFormat is custom

Dot-notation path to the text inside each object. Use [] for arrays.

Example: content.rich_text[].plain_text

typeFieldPathstring · optionalstringoptional

Path to a type field that determines which text path to read for each object. Leave blank if all objects have the same structure.

Used only when sourceFormat is custom.

Example: type

separatorstring · optionalstringoptional

Character(s) placed between each extracted text segment. Defaults to a blank line.

Example: \n\n

mergeFieldsrepeating-group · optionalrepeating-groupoptional

Attach additional values from other nodes alongside the extracted text.

Response schema

{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "extractedText"
  ],
  "properties": {
    "extractedText": {
      "type": "string",
      "description": "All text joined by separator"
    }
  },
  "additionalProperties": true
}

Get started

How to use this tool

  1. Connect your AI

    Add Connie to ChatGPT, Claude or Slack once, and this tool comes with it. There’s no API key or account to set up.

  2. Ask for the outcome

    Describe what you need in plain words. Your AI runs this tool when the job calls for it, along with any others it needs.

  3. Make it a workflow

    Add it as a step in a workflow that runs the same way every time, on a schedule or when something happens.

  4. Stay in control

    Choose whether it runs on its own or asks first. When it asks, you see an Allow or Deny card before any credits are spent.