Skip to main content

We're currently able to send and view messages out of Salesforce using Twilio.  But reply messages (or any incoming messages) are not coming into Salesforce at all.  I'm able to retrieve in the Twilio web app though. So I'm manually updating users of replies (which is time consuming obviously.)  Anyone encounter a similar problem and possible fix?  

6 risposte
  1. 23 feb 2024, 16:35

    @Alexander Dow We ran into the same issue and so we did a couple of things to fix this.

     

    1. Our Twilio Get Messages job was scheduled for 1 min interval. We increased it to 10 mins since we had other APEX jobs which were queued or active at the same time and Salesforce allows a max of 5 concurrent batch APEX jobs. Our Twilio Get Messages scheduled job which used to fail very often hardly fails now.

     

    2. Every time the Twilio Get Messages job stopped, our custom code sends an email to the System Admins. Since our job is scheduled for a 10 min interval, if the System Admins get an email every 10 mins, that means that the Twilio job has stopped and not restarted/rescheduled itself. So one of the System Admins would manually click the Scheduled job button to reschedule the job.

     

    Hope this helps.

0/9000