Before You Start
Use a sample WhatsApp contact that you control. Do not use a live customer, a real campaign audience, or any private customer data for this test.
This test flow is designed to confirm that Compliance settings, keywords, campaign safety checks, manual overrides, and export are all working together in the correct order.
| What to prepare | Recommended sample value | Why it matters |
|---|---|---|
| Sample opt-out keyword | STOP_SAMPLE | Lets you test automatic unsubscribe handling. |
| Sample opt-in keyword | START_SAMPLE | Lets you test automatic resubscribe handling. |
| Sample contact name | Sample Compliance Contact | Keeps the test easy to find later. |
| Sample manual block reason | Sample QA manual block | Confirms that manual override reason capture is working. |
Test Sequence
- 1. Open Compliance and confirm that the page loads correctly with Settings, Keywords, Contact Marketing Status, and Recent Campaign Safety Checks visible.
- 2. In Compliance Settings, save a simple test policy such as Block opted-out contacts enabled, Require opt-in before marketing enabled, Max Marketing Per Day set to 1, and Max Marketing Per Week set to 2. Refresh the page and confirm the values stay saved.
- 3. In Keyword Management, add an opt-out keyword using a safe sample word such as STOP_SAMPLE.
- 4. Add an opt-in keyword using a safe sample word such as START_SAMPLE.
- 5. Try to add STOP_SAMPLE again with the same type. The system should block the duplicate and show a clear warning or validation message.
- 6. In Contacts, create or choose one sample contact with a WhatsApp number you can control during testing. Return to Compliance and confirm that the contact appears in the Contact Marketing Status list. If no consent action happened yet, the status will usually be Unknown.
- 7. From the sample contact, send the sample opt-out keyword to your connected WhatsApp number. Confirm that the message arrives in Inbox and that the contact status changes to Opted Out in Compliance.
- 8. Create a small sample marketing campaign that includes only this sample contact. Start the campaign and confirm that Compliance blocks or skips the contact because the status is Opted Out.
- 9. Open Recent Campaign Safety Checks, view the latest check, and confirm that the per-contact detail shows a clear skip or block reason.
- 10. From the same sample contact, send the sample opt-in keyword. Confirm that the message arrives and that the status changes from Opted Out to Opted In.
- 11. Start another small sample marketing campaign to the same contact. This time the contact should pass Compliance and be allowed because Require opt-in before marketing is enabled and the contact is now Opted In.
- 12. Send one more small marketing campaign to the same contact on the same day. Because Max Marketing Per Day is set to 1, Compliance should block or skip the contact due to the daily frequency limit.
- 13. In Contact Marketing Status, manually change the sample contact to Blocked and enter a sample reason such as Sample QA manual block. Save the change and confirm the status updates correctly.
- 14. Start one more small sample marketing campaign to the same contact. Compliance should block or skip the contact again because the current status is Blocked.
- 15. Use Export CSV from Compliance and open the downloaded file. Confirm that the sample contact row includes useful audit fields such as contact name, phone, status, consent source or reference, timestamps where available, manual reason, and last updated time.
- 16. Finish with a short review of the sample contact record. Confirm that the final status is correct, keyword actions worked in the expected order, recent compliance checks are visible, and no obvious UI or save issue appeared during the test.
Expected Results
| Test area | Expected result |
|---|---|
| Settings save | Values save successfully and remain visible after refresh. |
| Keyword creation | Sample opt-out and opt-in keywords save and appear in the list. |
| Duplicate keyword protection | The same keyword and type combination cannot be saved twice. |
| Unknown contact visibility | A sample contact with a phone number appears in Compliance even before consent is recorded. |
| Inbound opt-out | A matching inbound opt-out keyword changes the contact to Opted Out. |
| Campaign check for opted-out contact | The contact is blocked or skipped and a recent check record is created. |
| Check details view | The check detail opens and shows a clear reason for the decision. |
| Inbound opt-in | A matching inbound opt-in keyword changes the contact to Opted In. |
| Campaign check for opted-in contact | The contact is allowed when current settings permit it. |
| Daily frequency limit | A later campaign on the same day is blocked or skipped when the daily limit is reached. |
| Manual block override | The contact status updates to Blocked and the sample reason is saved. |
| Campaign check for blocked contact | The contact is blocked or skipped again because of the manual Blocked status. |
| CSV export | The downloaded file includes meaningful audit-friendly values for the sample contact. |
Good Testing Practice
Use only sample contacts, sample campaigns, and sample keywords during testing. Keep test traffic small and isolated so it does not affect real customers or live reporting more than necessary.
After testing, remove or rename sample keywords if they should not remain active in production. Also review whether the temporary test settings match your real business policy before normal campaign activity continues.
FAQs & Troubleshooting
Should I use a real customer or a live audience for this test?
No. Use only a sample contact and a tightly controlled sample campaign.
Why does the guide test opt-out before opt-in?
That order proves the unsubscribe path first, then confirms that a later opt-in can restore marketing eligibility when your business process allows it.
What if the sample contact never appears in Compliance?
Confirm the contact has a phone number, the contact was saved correctly, and you are viewing the correct business data.
What if a campaign sends when it should have been blocked?
Pause the test, review Recent Campaign Safety Checks, and confirm the contact status, consent settings, and frequency limits before continuing.
Troubleshooting Checklist
- If settings do not stay saved, refresh the page and check whether your account has the required permission to manage Compliance.
- If a sample keyword does not trigger, confirm the inbound message was plain text and the saved keyword spelling matches exactly.
- If the contact is missing from Compliance, confirm the contact record includes a phone number and belongs to the same business context you are testing.
- If CSV export is missing values, clear filters and confirm the sample contact received the expected status changes before exporting again.