capabilities.work

Refresh Audience Cohort

A 3-step recipe with Meta. We can help you get access.

Recipe · 3 steps

Refresh Audience Cohort

with Meta · Digital Marketing Management

Resolve the caller, add a new cohort, then remove stale audience members.

  1. Resolve the authenticated caller's id for an audit trail.
  2. Add the new cohort's hashed payload to the custom audience.
  3. Remove stale members from the same custom audience. The remove edge is declared without a request body in the spec.
What you'll need to have ready
  • accessToken: A Meta Graph API user access token with ads permissions.
  • customAudienceId: The custom audience to refresh.
  • addPayload: Hashed payload for the new cohort to add (e.g. EMAIL_SHA256 data).
For your developer

Arazzo workflow meta:refresh-audience-cohort, 3 operations: getMe → addUsersToCustomAudience → removeUsersFromCustomAudience. Specs on APIs.io.