Skip to Content
Blackbell for builders
Guides

Manage customers, labels and groups

Load when importing, updating customers, defining audiences or exporting customer data.

Match by email. One email identifies one person across Blackbell accounts. Use upsert_customer for one person or import_customers for up to 1,000 rows. Repeated emails match one customer and existing labels are retained. Read get_customer for profile, labels and custom fields, and list_orders with visitor_id for orders. Archived customers stay in the account but leave audiences and counts. import-customers

  • Use bulk_update_customers for up to 1,000 people. Unknown emails create customers without sending email. Use labels.mode add/remove/replace, crm_fields with action set/clear, or rows with email and per-person crm_fields. Explain what will be removed and wait for yes before replace or clear. Up to 200 people return results directly. Above 200, poll get_customer_bulk_update with the returned id. Use create_only: true to create just missing people and return visitor_ids for the entire list (e.g. a hand-picked broadcast audience).
  • Tag buildings, plans or roles (“Building A Owner”, “VIP”) with labels. Staff, imports and forms on order acceptance can add them. Read get_form_automations for form rules. Forms never remove labels. create_label returns the existing label for a taken name. add_labels preserves other labels. Use bulk_label_customers to add or remove one label for up to 1,000 customers.
  • Define groups as saved rules, e.g. “any of three Owner labels, excluding Agents”. Use list_customer_groups for rules in words and counts. Staff also build groups in CMS Customers → Groups. Use create_customer_group with name, labels_in_any, labels_in_all, labels_not_in, and/or dropdown fields (field_id, op is/is_not, value_ids). Show the returned rule and count.
  • Re-evaluate groups at each use. A new owner qualifies immediately. With update_customer_group, any rule key replaces the entire rule for every dependent page, form, version and broadcast immediately. Ask first. delete_customer_group refuses a group in use. Check used_by and remove its uses first.

Select an audience

Use the same picker for broadcasts, page/form access, audience versions, blocks and parts. AND all supplied fields. No field means everyone. Label and group matches require sign-in. Offer both “with labels” and “without labels”. For several buildings pass each building label in labels_in_any.

MatchLabelsGroups
Every onelabels_in_all (broadcast labels_id_in), match: allgroups_in_all, group_match: all
At least onelabels_in_any (broadcast labels_id_in_any), match: anygroups_in_any, group_match: any
Excludelabels_not_in (broadcast labels_id_not_in)groups_not_in

Fields, to-dos and CMS actions

Use list_custom_fields and set_customer_fields for details like flat number or car plate. Form answers can fill them. Use set_sign_up_fields for sign-up questions. Use add_customer_todo and list_customer_todos for the app’s “For you” block until the customer taps Done. For a CSV export, call start_export: its answer gives the export id (and a next hint). Call get_export with that id a few seconds later for the file link. The staff member also gets the CSV by email.

On this page