crawlWebsiteWithFirecrawl starts a Firecrawl crawl and continues in a correlated child context after Firecrawl reports completion through a callback. It does not hold an action invocation open while the crawl runs. Use it for related pages on one site; use scrapeUrlWithFirecrawl for a single page.
Inputs accept literal values or compatible signals. An optional second argument { account } selects the Firecrawl binding.
Example
automations/crawl-help-center.automation.ts
Inputs
Output
Returns Firecrawl’s crawl job as{ id, status, total, completed, creditsUsed?, expiresAt?, next?, data }. expiresAt is a Date; data contains Firecrawl documents in the same shape returned by scrapeUrlWithFirecrawl.
Automate.ax supplies a callback URL to Firecrawl, correlates the terminal callback with the crawl job, and continues from the action that started it. A failed crawl fails the continued action path. Use startWebsiteCrawlWithFirecrawl instead when you want the job ID immediately or need to provide your own webhook.