SendGrid's webhooks, once enabled, will fire with every e-mail sent. Or so that seems to be what the documentation implies.
I'm wondering if there's anyway to have the webhooks fire only if certain filters match a pre-defined set. In particular I'm interested in the category filter matching something specific, and only fire webhook when matched, and not fire it by default on all e-mails sent.
There's no way to limit events by category, but you could probably set up a simple filter that would check for the existence of a specific category.
Related
Reading the XSMTP API documentation i can see that is possible suppress the open event and click events using webhooks in a per message basis. We have a requirement to disable all hooks for some messages. Is that possible? If yes how i can do it?
You would have to implement this yourself. One easy way would be to add a noEvents category to the messages that you don't want to track. Then in your webhook callback, if the event contains the category noEvents, skip it.
I read that I need to send a confirmation to paypal with the fields in the same order plus the cmd=_notify-validate field. I know that for certains event the fields will be different, but for example for a notification of paid using paypal buttons, will the params will always be in the same order?
Due some limitations I can't get the whole POST fields array (I can only get them by explicitely calling the key) so an option is to set each field in the confirmation request to paypal.
Whether it's always the same order is irrelevant. You're supposed to send them back in the same order they arrived in, whatever that was.
BUT I don't believe that observing the same order in the validation request is necessary, and in some languages, e.g. Java, it isn't even possible, as the order isn't preserved. I've been running IPN for several years without observing this constraint, and I've only ever had one validation failure, from Turkey, which remains unexplained but could have been say a character set issue.
Note that PayPal provide sample code for Java somewhere which therefore doesn't observe the constraint either. One assumes it was tested and passed a review ...
I have a requirement to send an email to a group of people. However I do not want to send any mail if there are no records matching my criteria. Currently I am using Time based workflow to send the emails. But the problem is it sends an email with zero records as well. I want to make the workflow intelligent enough. I am looking for some option which uses configuration and not programmatically.
Have a roll up summary that counts total of top priority cases.
Use that roll-up summary field in your workflow entry criteria.
I have used 2 workflow rules to achieve this requirement.
1. Time-Dependent WF Rule to update certain fields in contact which will be used to save the run time for the next email.
2. WF Rule with immediate actions which read a particular field value updated by the Time-Dependent WF Rule for a certain contact and triggers an Email Alert picking the Case Template.
I also use the Update event on the Contact Trigger to update the check box on Contact.
My goal is to use a user's answers to a few questions to trigger custom emails being sent to them with filtered content on my wordpress website. It seems like this is a common need, but can't find anything that allows it, or even is the right base to build a custom solution.
There are 3 main features I'm needing to do: First, the signup form lets users choose a few criteria via selection boxes.
Next, the captured information triggers an email being sent that matches the content they chose. For example, if the user says they're interested in waterskiing, the email that is auto sent would show the most recent posts in the water-skiing category.
Finally, the user responses would need to be saved to trigger actions at a later time if the content is not available yet. So for example, if they are interested in bowling, but there are no entries on bowling, nothing happens. However, once a post gets entered in this category, they are automatically emailed with that recent entry.
Any clarity you can provide here on plugins, software, etc that would lend to this functionality is much appreciated!!
Is there a configuration change that can be made to Trac to send a notification to an email address only upon the creation of all new tickets? If it can't be done through config, a plugin would be the second best option, with source code modification as a last resort.
NOTE: The setting smtp_always_cc in the notification section of TracIni will send messages on all updates. I'm in need of email notifications only on the creation of a new ticket.
Does this have to be an email notification? One option you have is to create a query that will list the ten (or however many) most recently-created tickets. When looking at the results of the query, use the "RSS Feed" button at the bottom of the page to subscribe to a feed that will notify you whenever the results of that query get updated.
You could write your own ticket listener plugin (or rather, override the default one and tweak it), or write a email filter (procmail?) to remove non-creation mails.
The smtp_always_cc configuration option in trac.ini will do exactly that.
The one caveat is that it will also send an email on any updates to that issue -- not only on issue creation. This may or may not be what you want. See the TracNotification page in the help wiki for more information.
We use this feature in our product at Akiri Solutions.