A push campaign
This tutorial sends a marketing push to a group of people. First you connect your app’s Firebase project. Then you set your limits, write the push, and see how it did.
PurrCRM sends your app’s pushes itself, through your own Firebase project.
Before you start: your app must register each phone for pushes. Your developer sets this up once (Flutter, iOS, Android). A push can only reach a phone that registered.
1. Add your Firebase key
Section titled “1. Add your Firebase key”Go to Settings › your app › Delivery › Push.
- In the Firebase console, open your app’s project.
- Go to Project settings › Service accounts and press Generate new private key. A file ending in
.jsondownloads. - Back in PurrCRM, press Add the key on the Firebase key card.
- Choose the file you downloaded, and press Save.
The card now shows your Firebase project and its service account. To swap the key later, press Replace the key.
iPhones use the same key. They are reached once your Firebase project has your Apple push key.
To check it works, press Push my phones under Send a test push. This sends a push to the phones you added under Testing › Preview on my phone.


2. Check your limits
Section titled “2. Check your limits”Go to Settings › your app › Messaging rules.
These limits decide how much marketing one person gets. Service pushes, such as “your order has shipped”, are never held back by them.
On the Push limits card:
- Marketing pushes a day: the most marketing pushes one person gets in a day.
- Quiet from and Quiet until: no marketing push arrives in these hours. A push due then waits until they end. The hours follow each person’s own time zone.
On the Frequency cap and holdout card:
- Frequency cap: at most so many marketing messages a day or a week, on one channel or on all of them. Press Add a rule to add one.
- Holdout: tick Hold some contacts out of all marketing. Those people get no marketing at all, so you can measure what your marketing adds.
When you change something, a bar appears at the bottom of the page. Press Save to keep your changes, or Discard to undo them.


3. Write the push
Section titled “3. Write the push”Go to Messages.
- Press New message and choose Push.
- Give it a Name that your team will recognise.
- Write a Title and the Words.
- Under Opens, choose where a tap takes people: a place in your app, or a web page. Leave it empty, and the push Just opens the app.
- To personalise it, press Insert attribute.


4. Choose who gets it
Section titled “4. Choose who gets it”Who step
- Choose A segment, such as “Gold members”.
- Under Consent, choose Marketing, and pick its Topic, such as Offers.
The count shows who can get it, for example “40 match · 12 can get this push”. The chips under it say why the others can’t:
| Chip | What it means |
|---|---|
| In the global holdout | They are in your holdout group. |
| No consent for marketing | They have not agreed to this topic by push, or they turned offers by push off. |
| No device for pushes | They never registered a phone for pushes, or they turned notifications off. |
5. Choose when
Section titled “5. Choose when”When step
Choose Once, now or at a time. Leave the time empty to send it as soon as it goes live, or set a time.
Under Days and times, choose the days and hours it may arrive. The push goes out in each person’s own time zone.
6. Test it, then go live
Section titled “6. Test it, then go live”- Press Try it on my test phone to get the push on your own phone.
- Press Go live.
7. See how it did
Section titled “7. See how it did”Messages › your push › Report
The report shows how many pushes were sent, delivered and opened, and how many people reached the goal.
The Messages list shows every message with Sent, Opened %, Clicked % and Goal % columns. Press a column’s name to sort by it.


If a push does not arrive
Section titled “If a push does not arrive”- Look at the push’s Report. Then look at Recent failures on Settings › your app › Delivery › Push. Both say what went wrong, such as a key Firebase refused.
- Open the person’s contact record. It lists their devices, and their consent for each topic and channel.
- On Android, check the channel name. A push sent to a channel your app has not created arrives silently, or in the wrong place.