MusicGPT Trigger icon

MusicGPT Trigger

Triggers on MusicGPT conversion events

MusicGPT Trigger

AI-generated

Summary

Polls MusicGPT for completed conversions, either by a specified task or conversion ID or by listing the user’s conversions. Emits each newly detected completed conversion as an n8n item.

Inputs

  • Poll Times — Set how often polling runs: every minute, hour, day, week, month, every X minutes or hours, or a custom cron expression. The default schedule is every minute.
  • Trigger On (required) — Choose Get Conversion to monitor one conversion, or New Conversions to check the user’s conversion list.
  • Conversion Type (required) — For Get Conversion, select the conversion type to query.
  • Task ID — For Get Conversion, provide a task ID or conversion ID; at least one is required. If both are supplied, both are sent in the request.
  • Conversion ID — For Get Conversion, provide a conversion ID or task ID; at least one is required. If both are supplied, both are sent in the request.
  • Conversion Type — For New Conversions, optionally filter by type; leave empty to include all types.
  • Start Date — For New Conversions, optionally set the earliest creation date. If blank, polling starts from the previous poll time, or one hour before the first poll.
  • End Date — For New Conversions, optionally set the latest creation date.
  • Sort Order — For New Conversions, choose newest-first (default) or oldest-first ordering.
  • Limit — For New Conversions, set the maximum number of results to request; defaults to 50.
  • Last Evaluated Key — A declared pagination key for New Conversions. The polling implementation does not send this value in its request.

Output shape

One n8n item per newly detected completed conversion, each containing the conversion object in json; returns no items when there is no new completed conversion.

A conversion is considered complete when its status is COMPLETED, SUCCESS, or SUCCEEDED. Get Conversion remembers the last emitted conversion key; New Conversions remembers up to 500 seen keys and advances its stored poll time when Start Date is blank. Requires MusicGPT API credentials.

Links

Discussion