New274+ blocks and 249+ tools are now fully documented
Marketing & Outreach
Tool

Flint

Run background agent tasks that modify your Flint sites, generate pages from a template, and check task status

Flint runs background agent tasks against your Flint sites. Start a task from a natural-language prompt to modify a site, generate a batch of pages from an existing template, or poll a task to check its status and collect the resulting page URLs.

Overview

PropertyValue
Typeflint
CategoryTool — Marketing & Outreach
AuthAPI Key (Authorization: Bearer header)

Operations

OperationTool IDDescription
Create Taskflint_create_taskStart a background agent task that modifies a site from a natural-language prompt
Generate Pagesflint_generate_pagesStart a task that generates up to 10 pages from an existing template page
Get Taskflint_get_taskFetch the status and results (created/modified/deleted pages) of a task

Configuration

SettingTypeRequiredDescription
apiKeystringYesFlint API key — set as {{FLINT_API_KEY}}. Sent as Authorization: Bearer <key>. Starts with ak_.
siteIdstringYes*ID of the Flint site to modify (flint_create_task, flint_generate_pages)
promptstringYes*Natural-language instructions for the agent (flint_create_task)
templatePageSlugstringYes*Slug of the existing template page to generate from, e.g. /case-studies/template (flint_generate_pages)
itemsjsonYes*JSON array of 1–10 pages to generate, each with targetPageSlug and context (flint_generate_pages)
taskIdstringYes*Identifier of the task returned when it was created (flint_get_task)
publishbooleanNoAutomatically publish the changes when the task completes (flint_create_task, flint_generate_pages)
callbackUrlstringNoHTTPS webhook URL that Flint POSTs to when the task completes or fails (flint_create_task, flint_generate_pages)

Fields marked Yes* are required only for the operations listed in their description.

Outputs

FieldTypeDescription
taskIdstringIdentifier of the background task
statusstringTask status: running, completed, or failed
createdAtstringISO 8601 timestamp when the task was created (flint_create_task, flint_generate_pages)
pagesCreatedarrayPages created by the task, each { slug, previewUrl, editUrl, publishedUrl } (flint_get_task)
pagesModifiedarrayPages modified by the task (flint_get_task)
pagesDeletedarrayPages deleted by the task (flint_get_task)
errorMessagestringError message when the task failed (flint_get_task)

Example

[Schedule] → [Flint: Generate Pages] → [Flint: Get Task] → [Google Sheets: Write URLs]

Read city and service rows, build a items array of { targetPageSlug, context } objects, and start a Flint Generate Pages task against {{FLINT_API_KEY}}. Save the returned {{flint.taskId}}, poll with Get Task until status is completed, then write each page's publishedUrl back to the sheet.

Tips

  • Poll, don't block. Task creation returns immediately with status: running. Use the Get Task operation (optionally on a schedule or inside a Loop) to wait for completed or failed.
  • Publish is opt-in. Leave publish unset to keep changes in preview for review; set it to true only when you want the task to publish automatically on completion.
  • Use a callback for long tasks. Provide a callbackUrl to receive a webhook when the task finishes instead of polling.
  • Batch limit. flint_generate_pages accepts at most 10 items per task; split larger batches across multiple tasks.