Configuring your DocuSign account to send event notifications
Configure your DocuSign account to send notification messages to your application in response to events that represent various stages of the envelope life cycle.
For example, when all recipients sign their documents in an envelope and the signing process is complete, you can get the documents back from DocuSign for further processing in your application.
By default, Pega Platform supports notifications only for the Document Completed envelope event type. However, you can configure your application to receive notifications for additional envelope or recipient event types, as needed.
- Sign in to your DocuSign account.
- In the DocuSign Connect Edit Custom Configuration pane,
configure the notification settings:
- In the Listener Settings section, in the
URL to Publish field, enter the address of
the pyConnect REST service in the following
format:https://<Your domain>/prweb/PRRestService/DocuSignService/Services/pyConnect
- In the Event Settings section, in the Envelope and Recipients list, select the event types to trigger notifications in your application.
- In the Include Data list, select the data items to include in each notification.
For more information, see the following aricle in the DocuSign Developer documentation: Webhook event triggers. - In the Listener Settings section, in the
URL to Publish field, enter the address of
the pyConnect REST service in the following
format:
- Save your configuration.
- In your Pega application, find and open the pyProcessDocuSignEvents activity.
- Save the pyProcessDocuSignEvents activity as part of your application ruleset.
- On the Steps tab, in the Method column, click the Open icon to open the activity that corresponds to the event type that you want to enable.
- Save the activity as part of your application ruleset.
- In the activity, implement the logic for processing the event type in your
application.The following figure shows the pyProcessDocuSignEvents activity and an empty placeholder activity that you can adjust to your business needs:
- Confirm your settings by clicking Save.
- Repeat steps 6 through 9 to configure additional event notifications.
Enabling notifications in the DocuSign Developers portal
Enabling event notifications in your application
Previous topic Voiding DocuSign envelopes Next topic Integrating SharePoint Online with Pega Platform