Sendgrid how get click tracking link - sendgrid

When I made clickTracking: true option in #sendgrid/mail API v3, this is work fine and my links modified, but when I use AMP-emails I have dynamic custom links and I can't trigger click event. I need a way, how get this modified link which triggers the click event, or I need a option how send click event data to API sendgrid. I need to manually trigger a click event.
Example of a modified link:
http://ur123456.website.com/ls/click?upn=GNQ0Y-2FRud123pJSNJOPFTPfjwJ-2F9X71r7qLU3SBdb4745wVI-3DEtcA_nx1QKxP5K9TFoBZ-2Fz3K-2FiEAlKmIrVx72dFsYBr12fl-2Br8WvWtRge-2B9lHeVXh0HaMja395gHzISC7UDCV1231dOTaWPhiq-2FAFaKGi2qym7shXhIH0Su5b4w4-2FfERisM06r5GHpIuvzvJLmai9qztFocXEBsHeqF-2Fjp-2FeilXXlqngdgvkDDttn9-2FxmOn8zQomq5xL63f8xfuF7ikp123W3PXyGTH2-2BzyQNgEm6Nsxv123MzdkpBfFOpg-3D

Twilio SendGrid developer evangelist here.
I don't know of a way to manually trigger a click event, but there are some workarounds to have dynamic custom links. According to this page in the docs on click tracking best practices if you can still include the domain, it will still work:
will not work. Instead you should format your link like this:

Related

Button function in a SendGrid Email to Trigger an external Webhook

forgive my naivete in asking this question, but I'm hoping someone can help me.
I have an email I send out through the SendGrid api using a dynamic template. The content of the email is different for each user I send it to (highly curated). I send products, their name, info, and a link to buy them.
I am looking to create a "LIKE" button next to each product for the user to interact with in the email and provide feedback on that product. That is, if they like that product but don't want to click to buy yet, they can hit "LIKE" and I'll be informed.
I am thinking I would do this through a webhook using something like integromat where a click of the button would trigger the webhook and then I would use something like airtable to update information.
Is something like this feasible? Would I just put the webhook URL in the href tag of a button? Is it possible to trigger the webhook AND then redirect to a window/tab that would acknowledge that the button was clicked?
Thank you for any feedback!
Links in an email will open a web browser outside of the email. This will make an HTTP request to the URL that you set as the HREF for the link (<a>). So, you can point that HREF directly at an endpoint on your own application and handle the request, storing the data about which user liked which product and rendering or redirecting the user to a confirmation page.
I think you may be complicating the idea by introducing the term webhook to this. I also see no reason you would want to include a third-party like Integromat to the proceedings.

Can I create notifications when an Atlassian Confluence page is created?

If any user changes or creates new page in Atlassian Confluence, I would like to automatically send a REST request. I want to use it for pushing auto-messages in messenger (in some public channel). It is useful to see any new changes on wiki.
I found info about REST API for Atlassian Confluence:
https://developer.atlassian.com/server/confluence/confluence-rest-api-examples/
But it is about how to sent requests to Confluence.
Is it possible to generate auto requests from Atlassian Confluence?
Update: I found some information - looks like it is impossible.
https://jira.atlassian.com/browse/CONFSERVER-52487
Am I right?
You are right, unfortunately this functionality does not exist at the moment. The best way would be to write your own Confluence Plugin that binds to certain events. See https://developer.atlassian.com/server/confluence/event-listener-module/ for more information about this. Then you can send the desired requests to your messenger every time the event occurs.
Another option, but unfortunately not free, would be the "Script Runner for Confluence" plugin. This plugin provides at least a simpler way for the above solution. You only have to implement the "send request" part, as the event handling is done by the plugin and can be configured via UI. See http://scriptrunner-docs.connect.adaptavist.com/confluencecloud/script-listeners.html#_set_a_watcher_for_new_blog_posts for more information.

How to force GMail show link in list

Several services, for example github, bitbucket and some ticket services able to send email which contain inlist link in GMail. Like that:
Inside they just put link.
How it is possible to do the same programmatically?
I think I found the right answer. The right name of this feature is Go-To Action. It’s possible to add it programmatically using microdata or JSON-LD. More details in documentation

Office365 weblink #odata response url for drafts not working

I am using the Office365 Rest API's to integrate with our application.
Our application generates emails via templates, and then we need to open it as a draft in outlook so the user can make any adjustments before sending it.
The creation of emails is working just fine, and we get the #odata response.
In this response we are taking the weblink section and using this to open the draft email.
If we just use the section as is, the draft email is displayed in a new window, but there is no option there to send it, just to continue editing or discard. So the user has to select continue editing to be able to send it. This would be more useful of you could Is there an option to go straight to the editor? There is a viewmode parameter, but I couldn't find any information on it and trying anything other than viewmodel=ReadMessageItem just gave me a blank screen.
What we really want to be able to do is open the draft in the full outlook editor. From the documentation, this appears to be possible by adding ispopout=0 to the weblink (as mentioned in the resource reference for message). When we do this, the link does open the main outlook window, but it doesn't open the draft in the message pane, just displays the inbox. Is there something I'm missing here?
WebLink property provides you a URL for Outlook Web App window to read a mail the user has received, or a draft as if it was saved by the user. So, the user does have to click on "Edit" to make any changes or send the message. For your scenario, taking the user directly to the draft in "Edit" mode makes sense to avoid the extra click. We will add this feature to our backlog.
"ispopout=0" isn't yet supported and I don't have a timeline to share right now. This is intended for the user to land in Outlook Web App with the message displayed in Preview pane. More importantly, we require the URL returned in WebLink to be used as is, as it can change. So, if an app makes changes to the URL before using it, it could break in the future if the URL structure changes.

Dynamics CRM 2011 custom code

I'm struggling to find much documentation on Dynamics CRM 2011 and have a problem. I'm not looking for code more a pointer as to the correct method of approach (workflow, dialog, custom HTML web resource etc)
I basically want something that does the following:
Go to Contact list
Select some contacts
Ribbon action opens a box that allows me
to select a custom role from a drop down list (source is a dynamics
entity)
Select a radio box for either add or remove role
Save the changes, this will add or remove a role from the contact and also send an email to that contact
I know how to get a list of selected recordIDs but I am not sure if I should be calling a dialog or a custom HTML page with JS.
Can anyone point me in the right direction?
This may not work at all for your scenario but it is worth thinking out of the box sometimes. This would only work if you have a small number of roles and the roles don't change that often.
Add checkboxes on the Contact, one for each role. Build workflows that fire on update of those checkboxes that send your emails. Now users can quickly edit lots of Contact Roles by using the Multi-Edit feature.
The benefit of this approach is it is a "no code" solution and it is very easy for the User since it uses out-of-the-box functionality. The downside is that you need to maintain those checkboxes. But it may be easier than writing a bunch of web resources and javascript!
I have assembled a list of bookmarks on the subject here. I hope the link works.
Gareth Tucker's site is specially interesting.
In the end the solution was to create a Ribbon item that accepted the selected Guids from the contact list.
Then read those in from a web resource (Silverlight) which called into the sdk and created / removed the records accordingly