Skip to main content


The PushDiscord action pushes a message to a Discord channel using the Discord webhooks API.

In order to use this action, set up a webhook integration and copy the URL.


  • url - a string with the full URL as provided by Discord.
  • message - a string (or function taking a context parameter) that returns the message to send.

Example usage

local Workflow    = require "porla.Workflow"
local PushDiscord = require "porla.actions.PushDiscord"

return Workflow:new{
on = "TorrentAdded",
actions = {
url = "<discord webhook url>",
message = function(ctx)
return string.format("Torrent %s added",