Metadata-Version: 2.5
Name: sales-followups
Version: 0.1.0
Summary: Follow-up rules for small sales teams: automatic chase dates for leads, quotes, proposals and visits, Overdue / Today / Next 7 days list, outcome logging, WhatsApp click-to-chat links.
Author: Hexaspace
License-Expression: MIT
License-File: LICENSE
Keywords: crm,follow-up,india,leads,quotes,sales,whatsapp
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Office/Business :: Financial :: Accounting
Requires-Python: >=3.10
Provides-Extra: test
Requires-Dist: pytest>=7; extra == 'test'
Description-Content-Type: text/markdown

# sales-followups

Follow-up rules for small sales teams (studios, contractors, showrooms), so no lead or quote is forgotten.

- **Automatic chase dates**: call a new lead the same day; follow up 2 days after sending a quote or proposal; call 3 days before a quote expires, unless someone already called; reply at once when a client asks for changes
- **One list**: Overdue / Today / Next 7 days, across leads, quotes, proposals and visits
- **Outcome logging**: each follow-up records what happened and the next date (within 120 days). "Not interested" closes it as lost and needs a reason
- **WhatsApp click-to-chat links** with the message filled in
- Time-zone-aware dates (Asia/Kolkata by default)

Built from the follow-up rules Hexaspace's sales team uses every day.

## Example

```python
from sales_followups import follow_up_list, log_outcome, whatsapp_link

lists = follow_up_list([{"kind": "lead", **lead}, {"kind": "quote", **quote}])
lists["overdue"], lists["today"], lists["upcoming"]

quote = log_outcome(quote, "call_back", next_date="2026-12-15", note="Call after Diwali")
whatsapp_link("00000 01234", "Hi, following up on your kitchen quote")
```

## Licence

MIT. Maintained by [Hexaspace](https://hexaspace.in).
