Opening Problem Statement
Meet Lisa, a marketing manager at a fast-growing e-commerce brand that frequently runs promotional campaigns. Lisa wants to increase engagement beyond just emails by reaching her customers instantly via WhatsApp. However, manually sending personalized WhatsApp messages based on subscriber behavior in KlickTipp is overwhelming. She struggles with inconsistent message delivery, tracking opt-outs, and customizing messages dynamically. This causes wasted time and missed revenue opportunities as customers drop off from campaigns or feel ignored due to unpersonalized outreach.
Lisa needs a robust solution to automate personalized WhatsApp campaign messages triggered by subscriber actions in KlickTipp, intelligently handle replies like opt-outs, and maintain clean subscriber lists without manually juggling contact data.
What This Automation Does
This workflow built in n8n bridges KlickTipp and WhatsApp Business Cloud for seamless campaign messaging. Here’s what happens when it runs:
- Monitors KlickTipp subscriber events (like tagging in outbound campaigns) to trigger WhatsApp message templates.
- Sends personalized WhatsApp message templates using dynamic placeholders like first name, product interest, and custom URLs.
- Listens for incoming WhatsApp replies to detect if the subscriber wants to stop messages by replying “STOP” (case-insensitive, whitespace ignored).
- Automatically sends a tailored auto-responder message guiding users toward support when they opt out via “STOP” reply.
- Subscribes or unsubscribes contacts in KlickTipp lists based on WhatsApp interaction, maintaining up-to-date segmentation.
- Filters out automated message responses to avoid recursion or repeated triggering within the workflow.
With this automation, Lisa saves hours previously spent on manual follow-ups and ensures customers experience timely, context-aware WhatsApp communication—directly improving conversions and customer satisfaction.
Prerequisites ⚙️
- n8n account (cloud or self-hosted).
- KlickTipp account with API access and configured subscriber lists and outbound campaigns.
- WhatsApp Business Cloud account linked to n8n with proper OAuth credentials.
- Pre-approved WhatsApp message templates created in your WhatsApp Business Manager account.
- Basic knowledge of KlickTipp custom fields (e.g., product name, user name, discount link) to map data correctly.
Step-by-Step Guide to Building the Workflow
Step 1: Set Up the KlickTipp Trigger Node
Navigate to Nodes > KlickTipp Trigger in n8n. Choose your KlickTipp API credentials and select the relevant event, such as “Subscriber Tagged in Outbound Campaign.” You should see a webhook URL generated—this triggers the workflow when your KlickTipp subscriber hits that outbound tag.
Outcome: Workflow triggers on subscriber events.
Tip: Ensure your KlickTipp account has API permissions enabled.
Step 2: Configure the WhatsApp Offer Template Node
Add a WhatsApp node configured with your WhatsApp Business Cloud API credentials. Choose the pre-approved template (e.g., “offer_for_manual|de”). Map dynamic placeholders to KlickTipp custom fields such as first name, product, and discount link using expressions like {{$json.CustomFieldFirstName}}.
The recipient’s phone number must be formatted properly—replace any “00” prefix with “+” using this expression: {{$json.PhoneNumber.replace(/^00/, '+')}}.
Outcome: Sends personalized WhatsApp offer messages automatically.
Common Mistake: Mismatching custom field names or incorrect phone number formatting can prevent message delivery.
Step 3: Add WhatsApp Message Trigger Node for Incoming Messages
Add the WhatsApp Trigger node to listen for incoming WhatsApp messages and capture sender and message content. Connect your WhatsApp OAuth credentials.
Outcome: Captures all incoming WhatsApp responses to process opt-outs or other replies.
Step 4: Filter User Messages Node
Use the Filter node to ensure the workflow processes only relevant user messages and ignores automated replies that could cause recursive triggers. Set up a condition to check if $json.messages[0] exists.
Outcome: Prevents automated responses from retriggering the workflow.
Step 5: Create the Cancellation Check Node (Switch Node)
Add a Switch node to check if the incoming message starts with “STOP”. Implement the logic by normalizing the message text to lowercase and removing all whitespaces, then testing the start of the string.
If it begins with “STOP,” route it to sending the auto-responder; otherwise, continue to subscription update.
Outcome: Intelligent routing based on user intent to opt-out.
Step 6: Configure Sending WhatsApp Auto-Responder Template
Add a WhatsApp node to send the “auto_forward_to_support|de” template. Personalize the message using the sender’s profile name with the expression {{$json.contacts[0].profile.name}}. Set the recipient phone number to the message originator.
Outcome: Sends a friendly auto-reply guiding users after opt-out.
Step 7: Subscribe Number to Opt-Out List in KlickTipp
Add the KlickTipp node to subscribe the user’s phone number when they choose to opt-out from WhatsApp messages. Format the WhatsApp ID with a + prefix (example: '+' + $json.contacts[0].wa_id).
Outcome: Keeps KlickTipp subscriber lists clean and up-to-date.
Step 8: Link It All Together
Connect your nodes in this sequence:
-KlickTipp Trigger → WhatsApp Offer Template
-WhatsApp Trigger → Filter User Messages → Cancellation Check
-Cancellation Check true branch to WhatsApp Auto-Responder and KlickTipp Opt-Out Subscribe Node
-Cancellation Check false branch ends workflow or can be expanded with more logic.
Outcome: Complete event-driven WhatsApp messaging solution.
Customizations ✏️
- Adjust Message Templates: Change the
templateparameter in WhatsApp nodes to reflect your approved templates for different campaigns or languages. - Add More Dynamic Fields: Include additional KlickTipp custom fields in message placeholders to enrich personalization — update the
bodyParametersin the template nodes. - Fine-Tune Stop-Word Detection: Modify the Switch node’s conditions to recognize additional keywords or variations besides “STOP.”
- Integrate Email Fallback: Add an Email Send node to follow up with contacts not using WhatsApp for comprehensive outreach.
- Segment WhatsApp Subscribers: Use the KlickTipp node to tag or segment subscribers based on their WhatsApp interaction for targeted campaigns.
Troubleshooting 🔧
Problem:
“WhatsApp message not sent” error.
Cause:
Incorrect phone number format or unapproved template usage.
Solution:
- Verify phone number starts with + and no extra spaces.
- Confirm WhatsApp template is approved and correctly named in Business Manager.
- Test with a known good phone number.
Problem:
“Workflow does not trigger on KlickTipp event”.
Cause:
Webhook URL not properly configured or KlickTipp API permissions missing.
Solution:
- Double-check KlickTipp trigger node webhook URL is set in KlickTipp outbound tag rule.
- Verify API access to KlickTipp and reauthorize credentials.
Pre-Production Checklist ✅
- Ensure KlickTipp API and WhatsApp OAuth credentials are active and valid.
- Test KlickTipp trigger by tagging a subscriber in your outbound campaign.
- Send a test opt-out message (“STOP”) from WhatsApp and verify auto-responder and list update.
- Check that all message templates are approved and active in WhatsApp Business Manager.
- Verify proper mapping of custom fields from KlickTipp to WhatsApp placeholders.
Deployment Guide
Once you validate your workflow with test triggers and message exchanges, activate it in n8n by toggling the workflow active. Monitor through the n8n executions panel to see event and message logs.
If needed, scale by horizontally adding more webhook triggers or distributing campaigns in KlickTipp. Regularly audit subscriber opt-in/outs to maintain list hygiene.
FAQs
- Can I use another email marketing platform instead of KlickTipp?
In theory, yes, if it provides webhook triggers and API access to subscriber data compatible with this workflow. - Does sending WhatsApp templates consume API credits?
WhatsApp Business Cloud might have API usage costs — check your plan accordingly. - Is subscriber data secure in this setup?
Yes, n8n workflows run on your server or cloud environment, so data control is as strong as your hosting security. - Can this handle thousands of subscribers?
Scalable depending on your n8n instance and API rate limits. Consider batch processing and rate limiting.
Conclusion
By following this detailed guide, you successfully built a powerful, personalized WhatsApp automation with KlickTipp and n8n. You automated message delivery and response management with dynamic templates and subscription controls, saving Lisa countless hours of manual work.
This setup empowers your marketing to be more responsive and personal, improving subscriber engagement and campaign ROI. Next, consider expanding with email-WhatsApp combo sequences, refining segmentation, or A/B testing message templates to optimize performance.
Start automating your WhatsApp campaigns today and watch your subscriber relationships grow stronger with every message!