Is it possible to use the sendgrid webhooks to retrieve event data from sendgrid account in Appery app?
https://sendgrid.com/docs/API_Referen...
If so how?
Is it possible to use the sendgrid webhooks to retrieve event data from sendgrid account in Appery app?
https://sendgrid.com/docs/API_Referen...
If so how?
Hello,
You can do it via REST service and server code:
https://devcenter.appery.io/documenta...
https://devcenter.appery.io/documenta...
I am familiar with these components of Appery but it still gives me no clue how to implement. Basically I want to know when a link on an email has been clicked.
Sorry, but we don't have such a tutorial, you can search solution online.
Sendgrid require a URL to write the events too. As my app is hosted by Appery is there anything I can use without having my own separate server space?
Hi Aeneas,
here is common things you should now:
Appery.io's Server code has public URL to invoke this server code.
Details: http://prntscr.com/6z0z8z/direct
You need to configure webhook by passing server code public URL to invoke your server code.
In the server code you can access DB and change it(to let client part about event triggered event on the send grid part).
Client part of your App can query DB to know if DB changed.
4.1. If DB changed - make some logic that you need.
Also here is more info about server code: https://devcenter.appery.io/documenta...
Regards.