Get delivered time from Mailgun Delivered Webhook - webhooks

Is there any way to get the delivery time from a Mailgun Delivery Webhook? By delivery time I mean the time the recipient's email provider received the email. I assume Mailgun has that information since they trigger a Delivery Event.
Analyzing the Delivered Event Webhook, I identified the following parameters that contain time information:
timestamp - this parameter contains the datetime when Mailgun calls my API, so it can't be used.
message-headers -> Date - This seems the time Mailgun sends the email to the recipient
message-headers -> Received - This seems the time Mailgun receives the email from my email client
Thanks

Related

DocuSign API : How to check if email notification was delivered successfully (no bounce back) or not?

I am trying to get the status of envelope (document) email notification delivered to signer. If the notification was delivered successfully or not.
I am using Create And Send Envelope to sent document to DocuSing.
There are two things you can check for:
Bounce email, that is a indication that the email bounced.
Envelope was opened. That is an indication that an email did not bounce.
There's no way to know for sure an email was not bounced if it was not opened by the user. So there's no way to really know for each envelope until such time that it didn't bounce (99% of bounce happen within seconds but sometimes it can take much longer)
The status is AutoResponded
The best approach to use this information is using the DocuSign connect webhook, and not using polling. So you get events to your service, you don't make API calls.

Docusign Connect Audit Events

DocuSign webhooks sends 1 envelope per message. It can also return the respective child entities if they have been configured so (e.g. documents, recipients).
I wanted to receive audit events of the envelope (when someone opened or viewed) in the message as well.
Is it possible? Or is it only possible through polling? What is the recommended strategy?
The DocuSign webhook notification messages are sent per webhook event. There are events at the envelope level (Draft, Sent, Delivered, Completed, Declined, or Voided) and for each recipient (Sent, Delivered, Completed, Declined, AuthenticationFailed, and AutoResponded).
The audit event of a recipient viewing an envelope is available as the Delivered recipient event.
There are other audit events which are not available as webhook events. To track those you'd need to poll. Remember the DocuSign limit of polling no more often than once per 15 minutes per envelope. (And the overall API limit of 1,000 calls per hour.)
If you subscribe to the recipient.Delivered event then you'll receive a webhook message when a recipient views the envelope. See the Delivered date stamp for the recipient and the Delivered status.
BUT if you have the webhook system set to aggregate notification messages (the default) then individual notifications may be aggregated together. For example, if you're subscribing to both the recipient delivered and completed events, and a recipient opens (delivered) and then immediately signs (completed) the envelope, you may only get one notification, for the later (completed) event.
But your code can look for the delivered date stamp to see if the envelope was delivered.

Get SMS responses into a SharePoint list

I have been been able to use Twilio and SharePoint to send SMS messages. We would like to go to the next stage and create a question/response system and receive those SMS messages from our customers and add them to a SharePoint list, therefore kicking off workflows based on the customer's SMS response.
Any ideas ?
Inbound SMS are sent to your Twilio number which you can then define a webhook for. The webhook (the URL Twilio will sent an HTTP Request to when a message is received) will contain the Body of the SMS message.
TwiML™ for Programmable SMS
What is a Webhook

How to send FCM notification in recipient time zone?

Using cloud functions, how to send an FCM notification on a specific topic at a scheduled time of recipient time zone?
I can see that option in notification composer in firebase console, but is there any helper method to send it through code?

DocuSign API to send instant reminder email to pending recipients

I want to send instant reminder to the recipients who have not signed the document yet through the DocuSign REST API.
Suppose I have sent an envelope to 3 recipients and one recipient have signed it. After some days I want to send instant reminder email to all other pending recipients or some of pending recipients.
I know there is API available to set reminders & expiration details.
Is there any REST API available so we can send reminder email to pending recipients when user want?
This should be possible via CORRECT API call. Please use the ?resend_envelope=true URL parameter as well. Info below.
REQUEST TYPE: PUT
REQUEST URL: https://demo.docusign.net/restapi/v2/accounts/<accountID>/envelopes/<envelopeID>?resend_envelope=true
REQUEST BODY: {}
API Documentation
Also see this Answer

Resources