Here are a few additional checkpoints for the lastsender lookup on incoming sms - 


  1. We need to make sure that number stored in the Contact's MobilePhone, Phone and Alternate Phone field is stored in the required format (i.e. (xxx) xxx-xxxx)
  2. Make sure that Last SMS History sent date is within last 7 days. If the customer receives the response from the same Mobile number to whom the last SMS was sent 7 days before, then, in that case, an email alert will go to default user who has set up OAuth and not to last sender.
  3. If there is no outgoing SMS sent or no SMS History record found for mobile number (from which we received the Incoming response) email alert will go to default user who has set up the OAuth and not to last sender


I would request you to check the record level access for the Contact records if there are any.


Regarding Object level permissions, I would request you to go to the respective profile of the User and check the following SMS Magic Object level permissions - 

  1. Incoming SMS
  2. Incoming_Lookup_Configs
  3. lookup_configs
  4. SenderId Profile Map
  5. Forward_Configs
  6. SMS History
  7. SMS SenderID
  8. SMS Templates
  9. SMS Template Types
  10. SenderId Profile Map
  11. Incoming Alert Configuration
  12. Check for the object level permissions of the relevant object for which last sender is not working

Regarding Field Level Permissions, I would request you to go to Setup > Field Accessibility and check for the following SMS Magic objects as mentioned below and give Editable permissions to all fields - 

  1. Action On Incoming SMS
  2. Incoming Alert Configuration
  3. Incoming Lookup
  4. Incoming SMS
  5. SenderId Profile Map
  6. SMS History
  7. SMS SenderId
  8. SMS Template
  9. SMS Template Type
  10. Check for the field level permissions of the relevant object for which last sender is not working - the mobile fields, name field and sms opt out field(if any)