Enabling users to respond to Pulse email notifications
Enhance communication and accelerate work processing by enabling an option to reply to Pulse messages by email. When users can post Pulse messages without logging in to an application, information exchange is faster and more convenient, and as a result, cases reach resolution faster.
For example, in a sales automation scenario, a Pulse discussion occurs about converting a prospect to a customer in a case. A sales person can quickly add comments to a post and attach a related document by replying to an email notification, without logging in to the application.Users can receive Pulse notification emails in cases that they follow and for which they choose to receive notifications. Users also receive emails when other users reference them in Pulse posts, or like their posts. You can allow users to quickly post attachments or text as replies by responding to emails instead of logging in to the application.
When users reply to emails, Pulse immediately fetches replies from Outlook, Gmail, Yahoo, iPhone, and Android email clients.
To enable users to respond to Pulse email notifications, you need to create a relevant service package in your application, copy an existing service email rule and adjust it to your needs, and then create an email listener.
- Create a service package in the application ruleset:
- In the header of Dev Studio, click .
- In the Short description field, briefly describe the purpose of the service package.
- In the Service Package Name field, enter a label for the service package.
- Click Create and open.
- In the Context section, in the Processing mode list, select an option that matches your application, depending on whether your application is stateless or stateful.
- In the Service access group field, enter the access group of
your application.Ensure that the access group that you want to use can access service methods.
- Clear the Requires authentication check box to bypass authentication and allow Pega Platform to invoke service methods.
- To use TLS/SSL for service REST rules that belong to this service package, select
Require TLS/SSL for REST services in this package.For more information, see Service Package form - Completing the Context tab.
- Select the Suppress Show-HTML check box.
- Click Save.
- Create a service email rule by copying an existing rule:
- In the header of Dev Studio, click .
- Expand Service Email in package PulseEmailService class PegaSocial-Message.
- Click pzCreatePulseReply.
- Click Save as.
- In the Label field, enter a new name for the rule.
- In the Customer Package Name field, enter the name of the service package that you created in step 2.
- In the Customer Class Name field, enter a service class name.
- In the Add to ruleset list, select your application ruleset.
- Click Create and open.
- In the Primary Page section of the Service tab, ensure that the Primary page class field stores the PegaSocial-Message value.
- In the Service activity section, ensure that the Activity name field stores the pzPostReplyFromMail value.
- On the Request tab, ensure that the Message header and Message data sections store the same values as the pzCreatePulseReply service email rule.
- On the Response tab, ensure that the value of the Message type list is None to avoid receiving blank emails when users reply to Pulse emails.
- Click Save.
- Create an email listener rule:
- In the header of Dev Studio, click .
- In the Short description field, describe briefly the purpose of this listener.
- In the Listener Name field, enter a label for the listener.
- Click Create and open.
- On the Properties tab, from the Startup
option list, select the appropriate option for running the listener,
depending on your requirements.For more information about creating email listeners, see Creating an email listener.
- In the Email Account field, enter the email account for the listener that you use for sending emails with Pulse notifications.
- In the Service information section, in the Service package field, enter the service package that you created in step 2.
- In the Service class field, enter the name of the service class name that you entered in the Customer Class Name field in step 3.
- In the Service method field, enter the name of the service email that you created in step 3.
- On the Processes tab, ensure that the No Attachments check box is cleared, so that attachments can be sent to email replies.
- Click Save.
Previous topic Configuring Pulse notifications on additional email accounts Next topic Enhancing a message in Pulse