Run a Marketing Cloud Next / Data 360 action
mcnext_actionCalls Salesforce Marketing Cloud non-CRUD operations (publish, clone, activate, run, validate, search) with query, path, body, or file data; blocks destructive calls unless enabled.
Instructions
Invoke a non-CRUD operation (kind "action"): publish, unpublish, clone, activate, deactivate, run, execute, refresh, validate, search, query, resolve, merge, and similar. Some actions are destructive (delete/remove/cancel/deactivate) and are blocked unless MC_NEXT_ALLOW_DESTRUCTIVE=true. For file-upload endpoints, pass formData with an absolute file path for the "file" field.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | JSON request body, when the endpoint expects one. | |
| query | No | Query string parameters, e.g. { "pageSize": 50, "orderBy": "name" }. | |
| headers | No | Additional request headers. | |
| formData | No | Form-data fields for multipart endpoints; file fields take an absolute path. | |
| endpointId | Yes | Endpoint id from the catalog, e.g. "content.create-an-email-with-html", "activations.query-activations". Use mcnext_list_endpoints to discover ids. | |
| pathParams | No | Path parameter values, e.g. { "contentKey": "my-email" }. |