Email Automation Service Documentation
The Email Automation Service provides seamless integration between ICE Policy, Customer Portal, and Salesforce, ensuring efficient and reliable communication with customers.
Endpoints
Notify Endpoints
These endpoints are used to handle notifications across different environments.
UAT:
https://us-central1-ice-portal-uat.cloudfunctions.net/notifyPrelive:
https://us-central1-ice-portal-prelive.cloudfunctions.net/notifyLive:
https://notify-ice.insyncdigital.co.uk/notify
Usage
All endpoints accept POST requests containing event payloads from ICE Policy. These requests should adhere to the specified schema detailed below.
Event Types
Below is the list of ICE Policy events processed by the Email Automation Service:
MTA_ACCEPTED
CANCELLATION_TRANSACTION_ACCEPTED
REINSTATEMENT_TRANSACTION_ACCEPTED
RENEWAL_ACCEPT_ACCEPTED
RENEWAL_INVITE_ACCEPTED
QAB_QUOTE_ISSUED
QUOTE_ISSUED
RENEWAL_INVITE_INVITED
PENDING_RENEWAL_INVITE_CREATED
TRANSACTION_EXPIRED
QAB_QUOTE_EDIT
QAB_QUOTE_RATED
NEW_BUSINESS_ACCEPTED
These event types trigger appropriate workflows such as email notifications, Salesforce updates, and Customer Portal actions.
Schema
Example Payload for QUOTE_ISSUED Event:
The service processes events based on a defined schema. Below is an example of the payload structure for the QUOTE_ISSUED event:
Key Attributes:
eventId: A unique identifier for the event.eventType: Type of event (e.g.,QUOTE_ISSUED).value: Detailed metadata about the quote, including product, scheme, and transaction details.eventTimestamp: The timestamp when the event was generated.
For other event types, the payload structure may vary slightly. Ensure that all mandatory fields are present when sending data to the notify endpoints.
Last updated