SOLVED

Webhooks and SMS Sending Question

Go to solution
PennyH
Level 2

Hello

Can anyone with experience of SMS execution in Marketo help me please.

We have had SMS capability built into our Marketo.

This is the flow:

  1. Call webhook: Get 0Auth Token ( this gives the data to the third party between Marketo and the SMS sending platform)
  2. Wait 5 seconds
  3. Call webhook:  send SMS

We are having issues with the 0auth token running out before the SMS’s can send. The 0auth token only stays open for 900 seconds.

But how many SMSs that are sent each time varies, I can see this is sometimes due to other processing happening in Marketo as it looks like webhooks are the lowest priority.

Is this expected behavior? And the expected set up of SMS capabilities in Marketo?

Thank you in advance for any help on this topic.

1 ACCEPTED SOLUTION
SanfordWhiteman
Level 10 - Community Moderator

This is a poor choice of architecture. It has a built-in race condition and isn’t reliable for professional use. It also cuts your sending capacity in half even when it works!

 

If an OAuth token is required, you should send your webhook requests to an intermediate API Gateway service that manages (i.e. caches) the token and sends the SMS.

View solution in original post

2 REPLIES 2
SanfordWhiteman
Level 10 - Community Moderator

This is a poor choice of architecture. It has a built-in race condition and isn’t reliable for professional use. It also cuts your sending capacity in half even when it works!

 

If an OAuth token is required, you should send your webhook requests to an intermediate API Gateway service that manages (i.e. caches) the token and sends the SMS.

PennyH
Level 2

Thanks @SanfordWhiteman that is helpful