AutomationRuleActionType
The action an automation rule performs when it fires. A value whose description lists configParameters takes those parameters in configParameters, and an ID parameter it lists takes an integer resource ID or a GlobalID, stored as the integer. Any other value takes the configParameters its action has always taken, with IDs as integer resource IDs. The member who triggered the rule is filled in when it fires and is never sent. New values may be added, so handle a value you do not recognize.
AutomationRuleActionTypeValues
Add a badge to the member.
Add a tag to the member.
Add the member to the Network.
Add the member to a plan.
Add the member to one or more spaces.
Award points to the member.
Add a badge to the member; the operation form of ADD_BADGE. configParameters: badge_id (ID, required).
Attachments: asset_ids ([ID], optional), embedded_link_id (ID, optional), captions_enabled_asset_ids ([ID], optional), cover_image_id (ID, optional). Comment on the post that triggered the automation, or reply under the comment that did. configParameters: body (String, required; HTML), acts_on (String, required; triggering_post comments on the post, triggering_comment replies under the comment).
Report the triggering comment as the automation's owner, sending it to the moderation queue and hiding it from members other than its author, Hosts and Moderators, only when the triggering member wrote it and the automation's owner did not. Needs comment reporting. configParameters: blacklist_type (BlacklistType, required: SPAM, OFFENSIVE or OTHER), reason (String, optional, at most 255 characters).
Add the member to the Network; the operation form of ADD_TO_NETWORK. configParameters: sender_id (ID, optional; the Host shown as having added the member, the automation's acting user when left out).
Add the member to a private conversation the automation's owner is in, or to a new group chat the automation creates. configParameters: conversation_id (ID, optional; a conversation the automation's owner is an active member of), new_conversation_title (String, optional; the name of a group chat the owner creates the first time the automation runs, which every later run adds to; exactly one of conversation_id and new_conversation_title is required), message (String, optional; HTML the owner posts in the chat after adding the member; %FIRST_NAME% is replaced with the member's first name).
Attachments are optional: asset_ids ([ID], optional), embedded_link_id (ID, optional). Send a direct message to the member; the operation form of SEND_DIRECT_MESSAGE. configParameters: text (String, required; HTML; %FIRST_NAME% is replaced with the member's first name), sender_id (ID, optional; the Host the message comes from, the automation's acting user when left out).
Send an announcement to everyone with the chosen RSVP statuses on an event, not only the member. configParameters: event_id (ID, required), rsvp_statuses ([RsvpStatus], required; any of YES, MAYBE, NO, and NONE for members who have not RSVPed), body (String, required; HTML).
Feature the member in Members Explore. Needs People Magic. configParameters: none.
Recognize the member for a community value, paying its points from the balance of the automation's owner. configParameters: gift_definition_id (ID, required; an active community value), message (String, optional; at most 500 characters).
Send the member an announcement from the Network, by email and in-app notification. configParameters: subject (String, optional; %FIRST_NAME% is replaced with the member's first name), body (String, required; HTML; likewise), external_link (String, optional), space_id (ID, optional; replaced with the Network when the automation fires, so leave it out).
RSVP the member to an event. configParameters: event_id (ID, required), status (String, required; yes, maybe or no).
Attachments are optional: asset_ids ([ID], optional), embedded_link_id (ID, optional). Post a message in a space's chat. configParameters: conversation_id (ID, required; a space that is not archived and has chat turned on), text (String, required; HTML; %FIRST_NAME% is replaced with the member's first name).
Add the member to the Network; the operation form of ADD_TO_NETWORK. configParameters: sender_id (ID, optional; the Host shown as having added the member, the automation's acting user when left out).
Invite the member to a plan; the operation form of INVITE_TO_BUNDLE. configParameters: bundle_id (ID, required), message (String, optional; %FIRST_NAME% is replaced with the member's first name), sender_id (ID, optional; the Host the invite comes from, the automation's acting user when left out).
Award points to the member; the operation form of AWARD_POINTS. configParameters: points (Int, required), message (String, optional).
Display a popup to the member; the operation form of DISPLAY_POPUP. configParameters: title (String, required; %FIRST_NAME% is replaced with the member's first name), description (String, optional; likewise), show_confetti (Boolean, optional), button_text (String, optional), button_url (String, optional), asset_id (ID, optional; an uploaded image), embedded_link_id (ID, optional; a video link).
Attachments: asset_ids ([ID], optional), embedded_link_id (ID, optional), captions_enabled_asset_ids ([ID], optional), cover_image_id (ID, optional). main_image_aspect_ratio (Float, optional) controls image presentation. Create a post in a space, as the automation's acting user. configParameters: space_id (ID, required), title (String, optional; %FIRST_NAME% is replaced with the member's first name), body (String, required without an attachment; supported composer HTML in the new Automations experience, otherwise HTML without links; %FIRST_NAME% is replaced likewise), post_type (String, optional; defaults to post). The new Automation composer creates Simple Posts and requires text or an attachment.
Report the triggering post as the automation's owner, sending it to the moderation queue and hiding it from members other than its author, Hosts and Moderators, only when the triggering member wrote it and the automation's owner did not. configParameters: blacklist_type (BlacklistType, required: SPAM, OFFENSIVE or OTHER), reason (String, optional, at most 255 characters).
React with an emoji to the post, comment, or parent comment that triggered the automation. configParameters: acts_on (String, required; triggering_post, triggering_comment, or triggering_parent_comment, limited to the records the automation's trigger provides), emoji (String, required).
Invite the member to a space; the operation form of INVITE_TO_SPACE. configParameters: space_id (ID, required), message (String, optional; %FIRST_NAME% is replaced with the member's first name), sender_id (ID, optional; the Host the invite comes from, the automation's acting user when left out).
Add the member to one or more spaces; the operation form of ADD_TO_SPACES. configParameters: space_ids ([ID], required), sender_id (ID, optional; the Host or Moderator shown as having added the member, the automation's acting user when left out).
Add the member to a plan; the operation form of ADD_TO_PLAN. configParameters: bundle_id (ID, required).
Add a tag to the member; the operation form of ADD_TAG. configParameters: tag_id (ID, required).
Send a welcome cheer to a new member; the operation form of WELCOME_NEW_MEMBER. configParameters: sender_id (ID, optional; the Host the welcome comes from, the automation's acting user when left out).
Remove a badge from the member; the operation form of REMOVE_BADGE. configParameters: badge_id (ID, required).
Clear the member's response to a profile field. configParameters: custom_field_id (ID, required; any profile field but a tag or badge field).
Stop featuring the member in Members Explore. Needs People Magic. configParameters: none.
Remove the member from a space; the operation form of REMOVE_FROM_SPACE. configParameters: space_id (ID, required).
Remove the member from a plan; the operation form of REMOVE_FROM_BUNDLE. configParameters: bundle_id (ID, required), immediate (Boolean, optional; defaults to true, false lets an active subscription lapse at the end of its period).
Remove a tag from the member; the operation form of REMOVE_TAG. configParameters: tag_id (ID, required).
Display a popup to the member.
Invite the member to a plan.
Invite the member to a space.
Lock RSVPs on an event.
Publish a lesson, quiz or section of a course for everyone in the course, not only the member who triggered the automation. configParameters: id (ID, required), enable_all (Boolean, optional; true also publishes everything inside it), notify_all_members (Boolean, optional; true notifies every member of the course once it is visible).
Remove a badge from the member.
Remove the member from a plan.
Remove the member from a space.
Remove a tag from the member.
Send a direct message to the member.
Send the member the Member Interview reminder, an in-app notification asking them to finish their interview. A member with no question left, a Host, a Limited Member, a member whose Network membership is not active, or a member notified about or active in the interview in the last 24 hours is skipped. configParameters: none.
Unlock RSVPs on an event.
Hide a lesson, quiz or section of a course from everyone in the course, not only the member who triggered the automation. configParameters: id (ID, required).
Set the member's response to a text or dropdown profile field. configParameters: custom_field_id (ID, required; a short or long text profile field, or a single or multi select dropdown one), text (String, required for a text field and refused for a dropdown; the response, replacing any the member gave), option_ids ([ID], required for a dropdown field and refused for a text one; options the chosen field holds, no more than it lets a member select, replacing any the member gave).
Lock or unlock RSVPs on an event; the operation form of LOCK_EVENT_RSVPS and UNLOCK_EVENT_RSVPS. configParameters: event_id (ID, required), rsvp_closed (Boolean, required; true locks RSVPs, false unlocks them).
Approve or decline the Plan join request that triggered the automation, as the automation's owner, only while it is still pending. Approving captures any card payment the requester has on hold. configParameters: status (InviteRequestStatus, required: APPROVED or REJECTED).
Close or open comments on the post that triggered the automation. configParameters: comments_enabled (Boolean, required; false closes comments, true opens them).
Set the member's role in a space. configParameters: space_id (ID, required), role (MembershipRole, required; HOST, MODERATOR or CONTRIBUTOR).
Send a welcome cheer to a new member.