Skip to content
Snippets Groups Projects
fiscale_attest_email.json 1.56 KiB
Newer Older
{
  "title": "Fiscale Attest (Email)",
  "name": "fiscale_attest_email",
  "description": "Verstuurt fiscale attesten per e-mail",
  "success_message": "Action done",
  "type": "dataprocessor_fiscale_attesten",
  "is_active": "1",
  "records_per_batch": "25",
  "fields": [
    {
      "name": "template",
      "title": "Template",
      "type": "message_template",
      "is_required": "1",
      "configuration": {
        "default_template": ""
      },
      "weight": "1"
    },
    {
      "name": "e_mailbericht_template",
      "title": "E-mailbericht template",
      "type": "message_template",
      "is_required": "1",
      "configuration": {
        "default_template": ""
      },
      "weight": "2"
    }
  ],
  "actions": [
    {
      "name": "verstuur_e_mail_en_maak_pdf_aan",
      "title": "Verstuur e-mail en maak PDF aan",
      "type": "SendPdfByEmail",
      "mapping": {
        "contact_id": "id",
        "alternative_recipient": "",
        "subject": "input.e_mailbericht_template.subject",
        "body_html": "input.e_mailbericht_template.html_body",
        "body_text": "",
        "pdf_message": "input.template.html_body",
        "sender_contact_id": "",
        "activity_id": "",
        "contribution_id": "",
        "case_id": "",
        "participant_id": "",
        "attachments": []
      },
      "configuration": {
        "filename": "fiscaalattest",
        "use_sender_as": "none",
        "cc": "",
        "bcc": "",
        "alternative_recipient": "",
        "from_name": "",
        "from_email": ""
      },
      "weight": "1"
    }
  ]
}