Skip to content
All posts

Building ElectCrew: a canvassing app that never sends a message itself

ElectCrew is our canvassing app for bar and membership elections. Here is why it hands every call and message to the candidate's own phone, and how we keep a member roll from leaking.

Muhammad ArslanCo-FounderPublished

A bar association election is decided by a fixed list of people. A few hundred to a few thousand advocates, every one of them known by name, and a campaign that mostly comes down to whether somebody on your side actually spoke to each of them. In practice that work runs on a spreadsheet forwarded around WhatsApp, and nobody is sure who has already been called.

ElectCrew is the fourth product we build and operate ourselves. It is a mobile canvassing app for membership elections: bar associations first, then High Court bars, chambers of commerce and other associations. This post covers the three decisions that shaped it.

The app never sends anything:

The obvious design is a bulk-SMS gateway with a nice interface. We did not build that. ElectCrew prepares the call or message and hands it to the phone's own dialler, SMS app or WhatsApp, so it goes out from the candidate's number.

There are two reasons. A voter who gets a message from a person they know reads it differently from one sent by a short code. And a tool that can blast an entire roll from a server is a spam tool, whatever the intent of the people who bought it.

The server still keeps the count. Every send is recorded as an activity and checked against a limit of 700 messages per user every 24 hours before the app is given anything to open. Bulk outreach is a batch the server holds and the app walks through one voter at a time.

One roll, shared by the whole team:

We load and maintain the member roll for each electorate, so a campaign starts canvassing on day one instead of typing in names. Each voter is marked Yes, No, Pending or No contact, with notes, and every call, message and status change lands in an activity log that the whole team sees.

Rolls change between elections, so re-importing one has to be safe. A fresh file is merged into the existing roll rather than replacing it, which means a campaign's statuses and notes survive an update and members who have left the roll drop out of the list.

Two smaller details came from watching how campaigns work. Members who turned out in earlier elections are highlighted, because effort spent on people who vote counts for more. And an advocate enrolled with both a tehsil bar and a High Court bar appears in each electorate, so one person is handled correctly in two different campaigns.

A member roll is sensitive, so it stays on the server:

This was the constraint we designed around from the start. A list of every member of a bar, with phone numbers, is exactly the kind of data that gets copied once and circulates forever.

  • An unverified account sees nothing. Verification is a phone call from our team.
  • Each account works on one device at a time. Signing in on a new phone signs the old one out.
  • Lists are served live and are not stored on the phone.
  • There is no export, and screen capture is blocked inside the app.
  • Access and activity are logged per account.

None of this is enforced by the app alone. The rules live on the server, where a modified client cannot skip them.

What it runs on:

The backend is Django and Django REST Framework. The mobile app is React Native with Expo, currently on Android. The public site is plain Django templates with no JavaScript build step, because a marketing site for a product like this needs to be fast and indexable, and little else.

Where it is today:

ElectCrew is priced per electorate and new electorates are added on request. If you are contesting a seat, or running a campaign for someone who is, the page for bar association elections explains how it works for your bar, and you can sign up at electcrew.com.

ElectCrew is independent software. It is not affiliated with or endorsed by any bar council, bar association, chamber or election board.

If you need a mobile product with this kind of access control built for your own organisation, talk to us.

Written byMuhammad ArslanCo-Founder
// Keep reading

More from the blog

6 min read

Lessons from Two Years on MIT Open Learning's Open edX Platforms

Two years, 170+ pull requests and a lot of production lessons: what working on MIT Open Learning's Open edX platforms taught us about Open edX development, plugins, MFEs and upstream contributions.

DjangoEdTechEngineeringLMS DevelopmentOpen SourceOpen edXOpen edX developmentPythonMuhammad Arslan
5 min read

Multi-Tenant SaaS in Django: The Reseller Model Behind Raseed Pro

How we built Raseed Pro as a multi-tenant SaaS in Django: an Organization and Company model, reseller accounts, per-seat billing and subscription enforcement.

DjangoDjango invoicing systemEngineeringMulti-Tenant SaaSSaaS ArchitectureMuhammad Arslan
8 min read

How We Built Raseed Pro’s FBR Integration on Django

When FBR made digital invoicing mandatory, Raseed Pro had to keep up without slowing down a single checkout. Here’s how we built a fast, secure, and failure-proof Django FBR integration using Celery, encrypted tokens, and smart retry logic, plus the lessons we learned along the way.

DjangoDjango invoicing systemFBR POS integrationFBR digital invoicing APIMuhammad Arslan

Have a project in mind?

Tell us what you're building. A co-founder replies within one business day.