Skip to main content

Melonly Triggers

Melonly Triggers start workflows when something happens inside Melonly.
They can react to moderation logs, infractions, Melonly roles, sessions, shifts, breaks, and activity waves.
This page explains what starts each Melonly trigger and what data it provides to the rest of the workflow.

Blocks

Logs

Log Created

Starts the workflow when a punishment log is created.Output
  • Id: The log ID as a string.
  • Type: The log type as a string.
  • Player: The full Roblox player object the log was created for.
  • Moderator: The full Discord/Melonly user object recorded as the moderator, when available. This is not guaranteed for system-created logs.
  • Reason: The log reason as a string. This may be empty.
  • Description: The log description as a string. This may be empty.
Use it when
  • A workflow should run whenever a new punishment log is created.
  • You want to forward or process newly created logs elsewhere.

Log Edited

Starts the workflow when a punishment log is edited.Output
  • Id: The edited log ID as a string.
  • Type: The current log type as a string.
  • Player: The full Roblox player object the log belongs to.
  • Moderator: The full Discord/Melonly user object recorded as the moderator, when available. This is not guaranteed for system-created logs.
  • Reason: The current log reason as a string. This may be empty.
  • Description: The current log description as a string. This may be empty.
Use it when
  • A workflow should react when an existing punishment log changes.

Log Deleted

Starts the workflow when a punishment log is deleted.The trigger preserves the deleted log’s original output values.Output
  • Id: The deleted log ID as a string.
  • Type: The log type as a string.
  • Player: The full Roblox player object the log belonged to.
  • Moderator: The full Discord/Melonly user object recorded as the moderator, when available. This is not guaranteed for system-created logs.
  • Reason: The log reason as a string. This may be empty.
  • Description: The log description as a string. This may be empty.
Use it when
  • A workflow should record or react to a punishment log being deleted.

Working With Melonly Triggers

Melonly triggers use events from moderation, staff management, sessions, and other dashboard systems. When using Melonly triggers, consider:
  • Outputs: Purple outputs are strings, blue outputs are numbers, yellow outputs are full Roblox objects, and green outputs are full Discord/Melonly user objects.
  • Current Data: Edited triggers provide the values stored after the edit.
  • Automatic and Manual Events: Some events, such as role changes, session changes, and activity waves, can be triggered manually, by workflows, or automatically by Melonly.

Example Workflow Flow

  1. An infraction with 3 points is created for a staff member.
  2. The workflow reads the member, points, reason, moderator, and term from the trigger.
  3. A condition checks whether the infraction has at least 3 points.
  4. The workflow sends a message in the management Discord channel containing the member, points, reason, term, and moderator.

Need help?

Still have questions? Join our Discord server for support.
Last modified on July 8, 2026