Trigger Modal/Alert Client Side from Server Connect Webhook

Hey everyone,

I have a server connect file that is receiving an HTTP post request as a webhook. Basically anytime a phonecall comes in through signalwire (twilio competitior) I have the data being sent to a sever connect file and it is being inserted into a database. No issues there it is working fine.

What I can’t figure out is how to trigger a modal (or any sort of alert) on the client side whenever a post request is sent to the sever connect file.

Basically the workflow would be:

Incoming HTTP post request from signal wire to server connect file -> read $_post and insert data into DB -> check to see if user with associated phone number is logged in -> if logged in then have a modal or alert popup on their current page with the posted data

Could someone point me in the right direction of how I can achieve this? I have a feeling it has to do with the “Set Value” server connect action but I am not sure.

Thanks for any help in advance!

Community Page
Last updated: