PendiumDocs

generate_service_area_pages

Generate local landing pages for each neighborhood × service a brand covers.

Generate local landing pages for a service business — one page per neighborhood × service combination, each with a lead-capture form. The brand must have resolved service areas first (connect a Yelp or Google Business listing that has neighborhoods); otherwise this returns an error. Pages are generated in the background as drafts. This tool returns immediately with how many pages were planned — poll list_agent_pages and watch for new pages with category: "service_area".

Authentication: Required. The agent's owning account must have available credits (a Starter or Pro plan) — generating the pages uses LLM credits, billed to the owner.

Parameters

ParameterTypeRequiredDescription
syntheticIdintegerYesThe agent ID to generate service-area pages for.

Returns

plannedCount — the upper bound on how many pages will be created (combinations that already have a page are skipped) — plus the syntheticId. Poll list_agent_pages and count pages with category: "service_area" until it stops rising.

On this page