I got something working with this template:
{
"username": "Duplicacy",
"embeds": [{
"title": "Your backup to {{.storage}} has {{if eq .result "Success"}}finished successfully{{else}}failed{{end}}",
"color": {{if eq .result "Success"}}65280{{else}}16711680{{end}},
"fields": [
{
"name": "Backup Name",
"value": "{{.storage}}"
}{{if and .start_time .end_time}},
{
"name": "Start Time (UTC)",
"value": "{{.start_time}}"
},
{
"name": "End Time (UTC)",
"value": "{{.end_time}}"
}{{end}}{{if eq .result "Success"}}{{if .total_files}},
{
"name": "Total Files",
"value": "{{.total_files}}"
}{{end}},
{
"name": "New Files",
"value": "{{if .new_files}}{{.new_files}}{{else}}0{{end}}"
}{{end}}
]
}]
}
And then just point the report URL to your webhook URL.