Sonarr icon

Sonarr

Interact with Sonarr API

Actions17

Command → Execute

AI-generated

Summary

Execute a Sonarr command

Inputs

  • command (required) — The command to execute on the Sonarr server. Select from the available options: Refresh Series, Rescan Series, Series Search, Season Search, Episode Search, RSS Sync, Downloaded Episodes Scan, Rename Series, or Backup. Defaults to RSS Sync if not specified.

Output shape

Array of JSON objects representing the Sonarr API response for each executed command. Each object contains the command status and ID returned by the /api/v3/command endpoint.

The node processes all input items; each item sends the same command name to the Sonarr API.

Examples

Example 1: Trigger a series rescan via the Execute operation

Set the Command parameter to 'Rescan Series'. The node will send a POST request to /api/v3/command with body { name: 'RescanSeries' } and return the command status from Sonarr.

Discussion