# Set Campaign Subscription Action

This action will subscribe or unsubscribe the current user from the selected campaign.

![](/files/-MguLC6pTQ4XhOP7gYX8)

### Settings

The action uses the following settings:

| Setting   | Description                                                   | [Parsed](/actions-and-operations/dynamic-parsing.md) |
| --------- | ------------------------------------------------------------- | ---------------------------------------------------- |
| Campaign  | The campaign that will be subscribed or unsubscribed.         | :no\_entry:                                          |
| Operation | The operation to executed. Subscribe or unsubscribe the user. | :no\_entry:                                          |

### Remarks

Campaign state changes are immediate. As soon as the user is subscribed, the first campaign broadcast will be activated, according to schedule. As the user is unsubscribed from the campaign, any pending broadcasts related are deleted.

Only campaigns that are activated by an On Demand or by Flow Action can be specified. Campaigns activated by a Date/Time trigger cannot be activated by this action.

### Trigger

This action has no triggers.

### Variables

This action does not produce any variable.

### Availability

Channel specific availability follows the table below:

| Channel          | Availability    |
| ---------------- | --------------- |
| Facebook         | Fully Available |
| WhatsApp         | Fully Available |
| Telegram         | Fully Available |
| Web              | Fully Available |
| Alexa            | Fully Available |
| Google Assistant | Fully Available |
| Slack            | Fully Available |
| API              | Fully Available |

This action can be used both inside interactions and as child of other actions. This action is available only to [Premium Accounts](/basic-concepts/your-account/the-free-plan.md).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.xenioo.com/actions-and-operations/profile/set-campaign-subscription-action.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
