Leadify icon

Leadify

Interact with Leadify API to manage leads, logs, and campaigns

Update Campaign Stats

AI-generated

Overview

This node operation updates campaign statistics for a specified lead group in the Leadify platform. It is useful for keeping campaign performance metrics current, such as lead counts at various stages, email engagement stats, and interest levels. For example, a marketing team can use this node to update the progress of an outreach campaign by providing the lead group ID, campaign slug, and the latest statistics data.

Use Case Examples

  1. Updating the total number of leads and email engagement counts for a summer outreach campaign.
  2. Adjusting the counts of leads in different stages like 'leadReadyToSend' or 'leadCompleted' to reflect recent campaign activity.

Properties

Name Meaning
Lead Group ID The ID of the lead group to update stats for. This identifies which lead group the campaign statistics belong to.
Campaign Slug Unique identifier for the campaign, typically a slug with no spaces and dashes instead. It specifies which campaign's stats are being updated.
Statistics A JSON object containing campaign statistics to update. Only the provided fields will be updated, allowing partial updates of metrics like leadTotal, sentCount, openedCount, etc.
Additional Fields Optional additional settings such as request timeout in milliseconds.

Output

JSON

  • response - The response from the Leadify API after updating the campaign statistics, typically confirming the update status or returning updated data.

Dependencies

  • Requires an API key credential for Leadify API authentication.

Troubleshooting

  • Ensure the Lead Group ID and Campaign Slug are correct and exist in Leadify; otherwise, the update will fail.
  • The statistics JSON must be valid JSON and only include fields that are allowed to be updated; invalid fields may cause errors.
  • Timeout settings should be adjusted if the API response is slow to avoid premature request termination.

Links

Discussion