WebsitePublisher icon

WebsitePublisher

Build and manage AI-powered websites via WebsitePublisher.ai. Create pages, manage data entities, upload assets, capture leads, configure forms, and execute integrations.

Actions26

Lead → Update Status

AI-generated

Summary

Updates the status of a WebsitePublisher lead to New, Contacted, or Converted.

Inputs

  • leadId (required) — ID of the lead to update.
  • newStatus (required) — The new status for this lead (new, contacted, or converted).

Output shape

A single item with the updated lead data or an error if the update fails.

The operation sends a POST request to the WebsitePublisher API. The API endpoint is '=/iapi/project/{{$credentials.projectId}}/leads/update-status' and expects a body containing 'lead_id' and 'status'.

Examples

Example 1: Change a lead status from New to Contacted

Set 'Lead ID' to the target lead's ID and 'New Status' to 'contacted'.

Links

Discussion