Email & SMS Templates

This guide explains how to access, understand, and manage Email and SMS templates in the Smart Request System plugin.

Step 1 – Access the Templates

  • In the WordPress admin sidebar, navigate to Smart Request System.
  • Click Email Templates to manage all system emails.
  • Click SMS Templates to manage all SMS notifications (requires Twilio setup).

Step 2 – Email Templates

  • Each email template is used for a specific action in the plugin:

Fig 1: Email Templates

TemplateTrigger EventPurposeKey Placeholders
Availability UpdateSent when the Availability Update action is performedNotifies the user that the requested item or service is availablee.g ( {fullname}, {business}, {secret_code}, {entry_id} )
Availability Update (Admin)Sent when a user email fails to deliverAlerts admin that the availability email was sente.g ( {fullname}, {email}, {business_name}, {user_id} )
Resend Verification CodeSent when the Resend Code action is performedSends a new verification/service code to the usere.g ( {fullname}, {secret_code}, {entry_id}, {business_name} )
Request Completion (to Recipient)Sent automatically after a request is marked as completedConfirms to the user that the request is completed with business detailse.g ( {citizen_name}, {business_name}, {entry_id}, {maps_link_block} )
Notify Providers (Admin)Triggered when the admin sends a request to providers in a specific regionSends bulk notifications to providerse.g ( {nomos}, {request_id}, {date_time} )
Request ExpiredSent automatically when a request reaches its expiration dateNotifies the user that their request has expirede.g ( {name}, {phone}, {medicines_search}, {deadline} )

Step 3 – SMS Templates

  • SMS notifications are require Twilio setup.
  • Enter your Twilio Account SID, Auth Token, and Twilio Phone Number.
  • Add Admin Phone Numbers to receive alerts.

Fig 2: SMS Templates

TemplateTrigger EventPurposeKey Placeholders
Availability NotificationSent when the Availability Update action is performedNotifies the user that the item/service is availablee.g ( {fullname}, {business_name}, {secret_code}, {entry_id} )
Admin AlertSent when a user SMS fails to deliverNotifies admin if sending failede.g ( {fullname}, {email}, {business_name}, {user_id} )
Resend Service CodeSent when the Resend Code action is performedSends verification/service code via SMSe.g ( {fullname}, {secret_code}, {entry_id} )
Request CompletedSent automatically after a request is marked as completedConfirms request completion to the usere.g ( {citizen_name}, {business_name}, {entry_id} )
Bulk SMS to ProvidersTriggered when the admin distributes a request to multiple providers in a regionSends notifications to multiple providerse.g ( {nomos}, {request_id}, {date_time} )
Expiration ReminderSent automatically when a request is nearing or past its expiration dateAlerts users about expiring requestse.g ( {name}, {medicines_search}, {deadline} )
CONTENTS