The "mappings"-section determines the mapping between the snapADDY Grabber & VisitReport fields to the corresponding fields in your CRM system. There is one subsection for each entity:

{
      "mappings": {
            "lead": {},
            "contact": {},
            "account": {}
        }
}

Inside these sections you can configure a 1:1 mapping:

{
      "mappings": {
            "lead": {
                    "FirstName": "{{firstName}}",
                    "LastName": "{{lastName}}"
            },
            "contact": {},
            "account": {}
        }
}

You can set a default value, which is preselected at export, but still changeable:

{
      "mappings": {
            "lead": {
                    "LeadSource": "{{'snapADDY Grabber'}}"
            },
            "contact": {},
            "account": {}
        }
}

You can use the ternary operator "?" for simple conditions like this:

{
      "mappings": {
            "lead": {
                    "Salutation": "{{ gender == 0? 'Herr' : (gender == 1? 'Frau' : '') }}"
            },
            "contact": {},
            "account": {}
        }
}

You can call up JavaScript functions via the code-section:

{
      "mappings": {
            "lead": {
                    "Salutation": "{{ execute(salutationFunction) }}"
            },
            "contact": {},
            "account": {}
        }
}
        "code": {
            "functions": {
                "salutationFunction": "if(address.gender === 0) { return 'Herr'; } else if (address.gender === 1){ return 'Frau'; } else { return ''; }"
            }
        }