To configure Messente to send inbound messages to your Salesforce environment, firstly copy the URL to the Salesforce site you created in Inbound Handling Site Configuration. You can see an example of where to copy the URL below.
In the Messente dashboard find "Senders" then "Inbound Numbers" (or click this link). You can then see a list of the numbers you have configured which can accept an inbound connection. In the "Callback URL" field, paste the URL you have just copied and append "/services/apexrest/gams4sf/message" so the overall URL looks like "https://myenvironment.my.salesforce-sites.com/mysitesuffix/services/apexrest/gams4sf/message" and press "Update".
Keep this window open and head to the "Configuration" tab in the Messente for Salesforce" Salesforce app. At the bottom of the page press "Add Inbound Number". Copy the number from Messente (indicated as (1) in the image above) into the "Phone Number" field, and the Shared Secret (indicated as 92) in the image above) to the "Shared Secret" field and press "Save" as shown below.
Inbound messages create a gams4sf__Message__ c
record with a value of "Inbound" in the "Direction" field. When a message is received you can use Flow or Apex to handle the message and undertake any actions you would like. Below we can see an example inbound message.