9
submitted 1 month ago* (last edited 1 month ago) by wjs018@piefed.wjs018.xyz to c/piefed_plugins@piefed.social

In addition to the previously existing functionality of sending email(s) when an application is ready to review, now you can also (or alternatively) send a webhook. From the readme:

This feature lets you specify a webhook url and payload that is fired when an application is ready for review. The payload is a dict that is defined in the config file. You can use variable substitution in specified fields of your payload to help support properly formatting things like message bodies. The full list of variable substitutions is documented in the config file.

It might not be desirable to do this substitution for all fields of the payload, so only fields that you specify will be formatted in this way. Add any fields you want to do variable substitution for to the webhook_format_fields list in the config file.

Upgrade notes

You probably want to rework your email templates if you previously set them up. Some variable names changed in the new email templates to make it easier to share variables across both the email and webhook functionality.

you are viewing a single comment's thread
view the rest of the comments
[-] wjs018@piefed.wjs018.xyz 4 points 1 month ago

Pinging @jerry@feddit.online and @dosdude@retrofed.com since I know you are users of this plugin. Feel free to reach out with questions here or whatever chatroom you might find me in.

[-] DosDude@retrofed.com 3 points 1 month ago

Am I understanding this correctly that this is a way to customize the email sent with my own template?

Either way, thanks for updating this!

[-] wjs018@piefed.wjs018.xyz 1 points 1 month ago

That's right. You can edit the two email template files to customize the email that is sent.

this post was submitted on 24 Apr 2026
9 points (100.0% liked)

PieFed Plugins

79 readers
2 users here now

Share Plugin snippets and discuss PieFed Plugin development.

Be warned the plugin system hooks directly into PieFed and has the potential to mess up your instance, don't copypaste scripts unless you know what you're doing.

founded 8 months ago
MODERATORS