pezP
Convex Community11mo ago
16 replies
pez

Tips on sending batch notifications to a large group of users at once?

Hi team, for context - I'm storing user ExpoPushTokens in my users table in Convex. I was reading some of the docs on cron jobs in Convex and was wondering what the recommended approach would be to send daily notifications to a large group of users at once (doesn't have to be at exactly the same time). I was thinking I could make a call to fetch the users table (though I'd probably wanna do this in a paginated manner so I don't fetch too many items at once), get the Expo push tokens that way, and then make batched calls to the Expo service using an internal action.

Is this the recommended approach for a use case like this?
Was this page helpful?