30 days free. No credit card. Full access from the moment you connect your site.

Start free trial

BuddyBoss Act On Activity

buddyboss/act-on-activity sets whether an activity item is favourited or marked as spam.

Pass the state you want as a boolean. Both are safe to retry.

At a glance

Abilitybuddyboss/act-on-activity
ToolsetBuddyBoss — toolset/buddyboss
GroupBuddyBoss › Activity
RequiresAcrossAI Pro, plus BuddyBoss Platform active on the site
Capabilitymanage_options
SafetyWrites data
RepeatableIdempotent — running it twice leaves the same result
Ships inAcrossAI Pro 0.9.16 and later

States, not toggles

The item is read first and nothing is sent when it is already in the requested state, which is what makes this safe to retry. A toggle would undo itself on a second call — which is exactly what BuddyBoss’s own route does.

That matters for any caller that might retry after an uncertain response, and it matters more when the operation is moderation: unspamming something by accident because a retry flipped it back is a bad outcome.

Marking as spam is the reversible way to take something out of the feeds. The item survives, its comments survive, and unmarking restores it.

buddyboss/delete-activity is the permanent alternative, and it destroys every comment on the item as well — so spam is almost always the better first move.

Favouriting is a member-facing action rather than a moderation one, and it is included here because it shares the same state-not-toggle shape.

Idempotent, and changed reports whether anything actually moved.

Input

NameTypeRequiredWhat it is
activity_idintegerYesThe activity item.
spambooleanNoThe spam state you want.
favouritebooleanNoThe favourite state you want.

What comes back

NameTypeWhat it is
activity_idintegerThe item.
changedbooleanWhether anything actually changed.
successbooleanWhether the call completed.
messagestringA one-line summary of what happened, suitable for showing a human.
error_codestringPresent only on failure — a stable machine-readable reason, such as a missing field, a wrong field type or an unmet confirmation.

Example

Ask your assistant:

Mark that post as spam.

It resolves to one call:

{
  "ability": "buddyboss/act-on-activity",
  "parameters": {
    "activity_id": 9102,
    "spam": true
  }
}

Worth knowing

  • States, not toggles. Safe to retry.
  • Spam is reversible; deletion is not, and takes the comments too.
  • changed distinguishes a no-op from a change.
  • Idempotent.

Related abilities


Get the plugins:
AcrossAI Abilities Manager · AcrossAI MCP Manager

Browse the rest: Every ability, by category


Keep reading