Menu

What to Include in a Failed Lead Alert
📰

What to Include in a Failed Lead Alert

DEV Community: beginners·chirag·3 days ago
#1Vx7aJBs
#devtobeginners#devto#dev#alert#enquiry
Reading 0:00
15s threshold

An alert says 'CRM integration failed.' The person receiving it cannot tell which enquiry is affected, whether retries are running, or who should act.

A useful alert reduces the work needed to make the next decision.

Describe the affected operation

Include an opaque enquiry reference and the failed stage. Validation, CRM delivery, assignment, and notification are different operations with different owners.

State whether the website durably accepted the enquiry. That tells the responder whether a visitor's request is retained or whether receipt itself is uncertain.

Use a controlled error category. A raw exception stack rarely belongs in a message sent to a broad operations channel.

Show recovery state

A useful hypothetical alert reads:

CRM delivery needs review. Enquiry ENQ-4821 is retained. Delivery exhausted its retry policy. Last category: authentication. Assigned responder: integration operations.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.