48 lines
1.5 KiB
YAML
48 lines
1.5 KiB
YAML
name: Text (markdown)
|
|
method: POST
|
|
url: $BASE_URL/v1/cloud-event
|
|
body:
|
|
content: |-
|
|
{
|
|
"customerId": "$CUSTOMER_ID",
|
|
"source": "//iva/us-east-prd/int/demo/markdown",
|
|
"id": "2025051416334592900000000000000001",
|
|
"type": "verint.ui_messages.text.v1",
|
|
"time": "2025-05-14T16:33:45.929Z",
|
|
"upn": "$UPN",
|
|
"userUUID": "$USER_UUID",
|
|
"data": {
|
|
"version": "1.0.0",
|
|
"format": "markdown",
|
|
"persona_icon": {
|
|
"id": "Verint-Bot-Head",
|
|
"color": "#007ACC"
|
|
},
|
|
"title_icon": {
|
|
"id": "message-status-info",
|
|
"color": "#FF5722"
|
|
},
|
|
"title": "Welcome to Customer Support",
|
|
"body": "Hello! I'm here to help you with your inquiry. Please let me know how I can assist you today.\n\n**Available Services:**\n | Month | Savings |\n| -------- | ------- |\n| January | $250 |\n| February | $80 |\n| March | $420 |\n",
|
|
"footer": "Need immediate assistance? Call us at 1-800-SUPPORT",
|
|
"links_title": "Helpful Resources",
|
|
"links": [
|
|
{
|
|
"text": "Visit our FAQ",
|
|
"url": "https://support.example.com/faq"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
content_type: application/json
|
|
auth:
|
|
type: bearer_token
|
|
bearer_token:
|
|
token: $access_token
|
|
headers:
|
|
- name: content-type
|
|
value: application/json
|
|
scripts:
|
|
setup: cloud-events.py
|
|
on_request: cloud-events.py
|