Quick overview
This workflow triggers when a contact is tagged in KlickTipp, uses OpenAI to estimate gender from the contact’s first name or to extract a name from the email address, and then writes an HTML greeting (Lieber/Liebe/Hallo) back to a KlickTipp custom field.
How it works
- Triggers when a contact is tagged in KlickTipp.
- If the contact already has a first name, OpenAI estimates the most likely gender and a confidence score from that first name.
- If the first name is missing but an email address exists, OpenAI extracts a first and last name from the email address, estimates gender, and returns confidence scores.
- If the gender confidence is below 85%, the workflow selects a neutral greeting (Hallo {first name},) and updates the KlickTipp contact.
- If the gender confidence is 85% or higher, the workflow chooses a gendered greeting (Liebe/Lieber {first name},) and updates the KlickTipp contact.
- When a name was extracted from the email address, the workflow also writes the parsed first name and conditionally updates the last name in KlickTipp if its confidence is high.
Setup
- Create a KlickTipp tag that triggers this workflow and configure the KlickTipp trigger/webhook to fire when that tag is applied.
- Add KlickTipp credentials in n8n and ensure the workflow can update subscribers.
- Add an OpenAI API key credential for the OpenAI Chat Model nodes.
- Create or select a KlickTipp custom field to store the HTML greeting and update the field ID (for example, field228721) in the KlickTipp update steps.
- Review and adjust the confidence threshold (85%) and the greeting text (Lieber/Liebe/Hallo) to match your brand voice.
Requirements
- Authenticate your KlickTipp connection with username/password credentials (API access required).
- Connect your OpenAI account using an API Key.
Customization
- Threshold: increase (stricter) or decrease (more coverage)
- Adjust greeting style: if needed, change “Lieber/Liebe/Hallo” to other words and phrases