Front desk clipboards and lost courier notes become an absolute nightmare once your team scales past twenty people. Instead of building a bespoke mobile check-in app, you can give your reception team a lightning-fast reply keyboard workflow that records delivery shelf locations into Firebase and updates aggregate totals instantly. The floor staff taps one button to record the delivery bay, the persistent reply keyboard resets cleanly, and the intake queue updates in real time.
📁 Filename:
drop.js👨💻 Code:
sendReplyKeyboard("Select the arrival shelf zone for this parcel:", [
["Bay A - General", "Bay B - Secure Lockbox"],
["Bay C - Cold Storage", "Front Desk Holding"]
])
waitForAnswer("confirm_drop")📁 Filename:
confirm_drop.js👨💻 Code:
clearWait()
const zone = message
pushDB("deliveries/inbound", {
zone: zone,
logged_by: user.first_name,
received_at: Date.now()
})
BOT.add("inbound_parcel_count", 1)
removeKeyboard(`Logged parcel to *${zone}*! Inventory tally updated.`)
📁 Filename:
parcels.js👨💻 Code:
const count = await BOT.getProp("inbound_parcel_count").value() || 0
sendMessage(`🏢 *Facility Parcel Hub*\nTotal inbound packages processed: *${count}*`, {
buttons: [{ text: "Log New Drop", command: "/drop" }]
})💡 Calling
removeKeyboard directly with a message string removes the custom keypad layout and posts your confirmation text in one clean step.⚠️ Note: Ensure yourFIREBASE_URLandFIREBASE_SECRETare configured sopushDBwrites persist directly into your database.
#FlexGram
