Skip to content
This repository has been archived by the owner on Dec 4, 2024. It is now read-only.

Samples

Steven Harrington edited this page Jul 25, 2022 · 1 revision

Expense Report with Actions Sample

Expense Report with actions

[
  {
    "type": "notification.create",
    "data": {
      "location": "todo",
      "audience": [
        {
          "type": "email",
          "value": "${WORKGRID_USERNAME}"
        }
      ],
      "version": "3.0",
      "localizations": {
        "en-US": {
          "category": "Approval",
          "from": {
            "name": "Chrome River",
            "iconUrl": "https://via.placeholder.com/64x64.png"
          },
          "summary": {
            "title": "Expense Report",
            "body": "Travel Expense, in the amount of $10.00, has been submitted by James Durgin for approval."
          },
          "detail": {
            "type": "card",
            "body": [
              {
                "type": "TextBlock",
                "text": "Review the details of the request below:",
                "weight": "lighter",
                "size": "small",
                "isSubtle": true
              },
              {
                "type": "TextBlock",
                "text": "Expense Report",
                "weight": "bolder",
                "size": "medium",
                "wrap": false
              },
              {
                "type": "FactSet",
                "spacing": "medium",
                "facts": [
                  {
                    "type": "Fact",
                    "title": "Submitted by:",
                    "value": "James Durgin"
                  },
                  {
                    "type": "Fact",
                    "title": "Expense No:",
                    "value": "6311AE4C09EF4A73B86D"
                  },
                  {
                    "type": "Fact",
                    "title": "Report Title:",
                    "value": "Travel Expense"
                  },
                  {
                    "type": "Fact",
                    "title": "Date Submitted",
                    "value": "31st July 2022"
                  },
                  {
                    "type": "Fact",
                    "title": "Total Expense",
                    "value": "$10.00"
                  }
                ]
              },
              {
                "type": "TextBlock",
                "text": "Reimbursable Expense Report Details",
                "wrap": false,
                "weight": "bolder",
                "size": "medium",
                "color": "dark"
              },
              {
                "type": "ColumnSet",
                "spacing": "medium",
                "separator": true,
                "columns": [
                  {
                    "type": "Column",
                    "width": 1,
                    "items": [
                      {
                        "type": "TextBlock",
                        "text": "Date",
                        "isSubtle": true,
                        "weight": "default",
                        "color": "dark",
                        "size": "small"
                      },
                      {
                        "type": "TextBlock",
                        "text": "31st July 2022",
                        "isSubtle": true,
                        "weight": "default",
                        "color": "dark",
                        "size": "small"
                      }
                    ]
                  },
                  {
                    "type": "Column",
                    "width": 1,
                    "items": [
                      {
                        "type": "TextBlock",
                        "text": "Type",
                        "isSubtle": true,
                        "weight": "default",
                        "color": "dark",
                        "size": "small"
                      },
                      {
                        "type": "TextBlock",
                        "text": "Travel - Bus Fares",
                        "isSubtle": true,
                        "weight": "default",
                        "color": "dark",
                        "size": "small"
                      }
                    ]
                  },
                  {
                    "type": "Column",
                    "width": 1,
                    "items": [
                      {
                        "type": "TextBlock",
                        "text": "Amount",
                        "isSubtle": true,
                        "weight": "default",
                        "color": "dark",
                        "size": "small"
                      },
                      {
                        "type": "TextBlock",
                        "text": "$10.00",
                        "isSubtle": true,
                        "weight": "default",
                        "color": "dark",
                        "size": "small"
                      }
                    ]
                  }
                ]
              },
              {
                "type": "TextBlock",
                "text": "Most Recent Comment:",
                "wrap": false,
                "weight": "bolder",
                "size": "default",
                "color": "dark",
                "spacing": "large"
              },
              {
                "type": "TextBlock",
                "text": "Bus fare for Boston meeting",
                "spacing": "none"
              },
              {
                "type": "TextBlock",
                "text": "[View full request in Expense System](https://www.google.com)",
                "wrap": false,
                "weight": "default",
                "size": "default",
                "color": "link",
                "spacing": "large"
              }
            ]
          },
          "actions": [
            {
              "type": "Action.Submit",
              "data": {
                "action": "Reject"
              },
              "actionType": "secondary",
              "title": "Return"
            },
            {
              "type": "Action.Submit",
              "data": {
                "action": "Approve"
              },
              "actionType": "primary",
              "title": "Approve"
            }
          ]
        }
      }
    }
  }
]

Promotion Request with Actions Sample

Promotion Request with actions

[
  {
    "type": "notification.create",
    "data": {
      "location": "todo",
      "audience": [
        {
          "type": "email",
          "value": "${WORKGRID_USERNAME}"
        }
      ],
      "version": "3.0",
      "localizations": {
        "en-US": {
          "category": "Approval",
          "from": {
            "name": "Oracle HCM",
            "iconUrl": "https://via.placeholder.com/64x64.png"
          },
          "summary": {
            "title": "Promotion Request",
            "body": "Promotion for James Durgin, 7676759, has been submitted by Natasha Ingraham for approval."
          },
          "detail": {
            "type": "card",
            "body": [
              {
                "type": "TextBlock",
                "text": "Review the details of the request below:",
                "weight": "lighter",
                "size": "small",
                "isSubtle": true
              },
              {
                "type": "TextBlock",
                "text": "Promotion Request",
                "weight": "bolder",
                "size": "medium",
                "wrap": false
              },
              {
                "type": "FactSet",
                "spacing": "medium",
                "facts": [
                  {
                    "type": "Fact",
                    "title": "Submitted by:",
                    "value": "Natasha Ingraham"
                  },
                  {
                    "type": "Fact",
                    "title": "Date Submitted",
                    "value": "31st July 2022"
                  },
                  {
                    "type": "Fact",
                    "title": "Effective Start Date:",
                    "value": "1st August 2022"
                  },
                  {
                    "type": "Fact",
                    "title": "Salary Change Indicator:",
                    "value": "Yes"
                  }
                ]
              },
              {
                "type": "TextBlock",
                "text": "Promotion Request Details",
                "wrap": false,
                "weight": "bolder",
                "size": "medium",
                "color": "dark"
              },
              {
                "type": "ColumnSet",
                "spacing": "medium",
                "separator": true,
                "columns": [
                  {
                    "type": "Column",
                    "width": 1,
                    "items": [
                      {
                        "type": "TextBlock",
                        "text": "Description",
                        "isSubtle": true,
                        "weight": "default",
                        "color": "dark",
                        "size": "small"
                      }
                    ]
                  },
                  {
                    "type": "Column",
                    "width": 1,
                    "items": [
                      {
                        "type": "TextBlock",
                        "text": "Current",
                        "isSubtle": true,
                        "weight": "default",
                        "color": "dark",
                        "size": "small"
                      }
                    ]
                  },
                  {
                    "type": "Column",
                    "width": 1,
                    "items": [
                      {
                        "type": "TextBlock",
                        "text": "Proposed",
                        "isSubtle": true,
                        "weight": "default",
                        "color": "dark",
                        "size": "small"
                      }
                    ]
                  }
                ]
              },
              {
                "type": "ColumnSet",
                "spacing": "medium",
                "separator": true,
                "columns": [
                  {
                    "type": "Column",
                    "width": 1,
                    "items": [
                      {
                        "type": "TextBlock",
                        "text": "Grade",
                        "isSubtle": true,
                        "weight": "default",
                        "color": "dark",
                        "size": "small"
                      }
                    ]
                  },
                  {
                    "type": "Column",
                    "width": 1,
                    "items": [
                      {
                        "type": "TextBlock",
                        "text": "09.1.C",
                        "isSubtle": true,
                        "weight": "default",
                        "color": "dark",
                        "size": "small"
                      }
                    ]
                  },
                  {
                    "type": "Column",
                    "width": 1,
                    "items": [
                      {
                        "type": "TextBlock",
                        "text": "10.1.C",
                        "isSubtle": true,
                        "weight": "default",
                        "color": "dark",
                        "size": "small"
                      }
                    ]
                  }
                ]
              },
              {
                "type": "ColumnSet",
                "spacing": "medium",
                "separator": true,
                "columns": [
                  {
                    "type": "Column",
                    "width": 1,
                    "items": [
                      {
                        "type": "TextBlock",
                        "text": "Job Name",
                        "isSubtle": true,
                        "weight": "default",
                        "color": "dark",
                        "size": "small"
                      }
                    ]
                  },
                  {
                    "type": "Column",
                    "width": 1,
                    "items": [
                      {
                        "type": "TextBlock",
                        "text": "HRSC Assoc, Intake/Triage",
                        "isSubtle": true,
                        "weight": "default",
                        "color": "dark",
                        "size": "small"
                      }
                    ]
                  },
                  {
                    "type": "Column",
                    "width": 1,
                    "items": [
                      {
                        "type": "TextBlock",
                        "text": "HRSC Sr Assoc, Intake/Triage",
                        "isSubtle": true,
                        "weight": "default",
                        "color": "dark",
                        "size": "small"
                      }
                    ]
                  }
                ]
              }
            ]
          },
          "actions": [
            {
              "type": "Action.Submit",
              "data": {
                "action": "Reject"
              },
              "actionType": "secondary",
              "title": "Return"
            },
            {
              "type": "Action.Submit",
              "data": {
                "action": "Approve"
              },
              "actionType": "primary",
              "title": "Approve"
            }
          ]
        }
      }
    }
  }
]

Purchase Order with Actions Sample

Purchase Order with actions

[
  {
    "type": "notification.create",
    "data": {
      "location": "todo",
      "audience": [
        {
          "type": "email",
          "value": "${WORKGRID_USERNAME}"
        }
      ],
      "version": "3.0",
      "localizations": {
        "en-US": {
          "category": "Approval",
          "from": {
            "name": "Service Now",
            "iconUrl": "https://via.placeholder.com/64x64.png"
          },
          "summary": {
            "title": "Item Approval Request",
            "body": " James Durgin has submitted a new Service Now item request for a Samsung Galaxy S7 Edge with a cost of $600.00 that needs your review and approval"
          },
          "detail": {
            "type": "card",
            "body": [
              {
                "type": "TextBlock",
                "text": "Request Details",
                "wrap": false,
                "weight": "bolder",
                "size": "medium",
                "color": "dark",
                "separator": true,
                "spacing": "large"
              },
              {
                "type": "FactSet",
                "spacing": "small",
                "facts": [
                  {
                    "type": "Fact",
                    "title": "Request Item ID",
                    "value": "RITM0010047"
                  },
                  {
                    "type": "Fact",
                    "title": "Submitted",
                    "value": "21st July 2022"
                  },
                  {
                    "type": "Fact",
                    "title": "Total Cost",
                    "value": "$600.00"
                  },
                  {
                    "type": "Fact",
                    "title": "Requester",
                    "value": "James Durgin"
                  }
                ]
              },
              {
                "type": "TextBlock",
                "text": "Request Item(s)",
                "wrap": false,
                "weight": "bolder",
                "size": "medium",
                "color": "dark",
                "separator": false,
                "spacing": "large"
              },
              {
                "type": "ColumnSet",
                "spacing": "small",
                "separator": false,
                "columns": [
                  {
                    "type": "Column",
                    "width": 1,
                    "items": [
                      {
                        "type": "TextBlock",
                        "text": "ITEM",
                        "isSubtle": true,
                        "weight": "default",
                        "color": "dark",
                        "size": "small"
                      }
                    ]
                  },
                  {
                    "type": "Column",
                    "width": 1,
                    "items": [
                      {
                        "type": "TextBlock",
                        "text": "QTY",
                        "isSubtle": true,
                        "weight": "default",
                        "color": "dark",
                        "size": "small"
                      }
                    ]
                  },
                  {
                    "type": "Column",
                    "width": 1,
                    "items": [
                      {
                        "type": "TextBlock",
                        "text": "COST",
                        "isSubtle": true,
                        "weight": "default",
                        "color": "dark",
                        "size": "small"
                      }
                    ]
                  }
                ]
              },
              {
                "type": "ColumnSet",
                "spacing": "small",
                "separator": false,
                "columns": [
                  {
                    "type": "Column",
                    "width": 1,
                    "items": [
                      {
                        "type": "TextBlock",
                        "separator": false,
                        "text": "Samsung Galaxy S7 Edge",
                        "spacing": "small",
                        "wrap": true,
                        "color": "dark"
                      }
                    ]
                  },
                  {
                    "type": "Column",
                    "width": 1,
                    "items": [
                      {
                        "type": "TextBlock",
                        "separator": false,
                        "text": "1",
                        "spacing": "small",
                        "wrap": true,
                        "color": "dark"
                      }
                    ]
                  },
                  {
                    "type": "Column",
                    "width": 1,
                    "items": [
                      {
                        "type": "TextBlock",
                        "separator": false,
                        "text": "$600.00",
                        "spacing": "small",
                        "wrap": true,
                        "color": "dark"
                      }
                    ]
                  }
                ]
              },
              {
                "type": "TextBlock",
                "text": "Description",
                "wrap": false,
                "weight": "bolder",
                "size": "default",
                "color": "dark",
                "spacing": "large"
              },
              {
                "type": "TextBlock",
                "text": "Samsung Galaxy S7 Edge",
                "spacing": "none"
              },
              {
                "type": "TextBlock",
                "text": "Explanation",
                "wrap": false,
                "weight": "bolder",
                "size": "default",
                "color": "dark",
                "spacing": "large"
              },
              {
                "type": "TextBlock",
                "text": "Phone Upgrade",
                "spacing": "none"
              },
              {
                "type": "TextBlock",
                "text": "[View full request in Purchasing System](https://www.google.com)",
                "wrap": false,
                "weight": "default",
                "size": "default",
                "color": "link",
                "spacing": "large"
              },
              {
                "id": "comments",
                "type": "Input.Text",
                "label": "If rejecting, it's required to specify a reason",
                "maxLength": 200,
                "isMultiline": true,
                "spacing": "large",
                "isRequired": true,
                "separator": true
              }
            ]
          },
          "actions": [
            {
              "type": "Action.Submit",
              "data": {
                "action": "Reject"
              },
              "actionType": "secondary",
              "title": "Reject"
            },
            {
              "type": "Action.Submit",
              "data": {
                "action": "Approve"
              },
              "actionType": "primary",
              "title": "Approve"
            }
          ]
        }
      }
    }
  }
]

My Day Notification Sample

My Day

[
  {
    "type": "notification.create",
    "data": {
      "location": "toknow",
      "audience": [
        {
          "type": "email",
          "value": "${WORKGRID_USERNAME}"
        }
      ],
      "version": "3.0",
      "localizations": {
        "en-US": {
          "category": "Event",
          "from": {
            "name": "My Day",
            "iconUrl": "https://via.placeholder.com/64x64.png"
          },
          "summary": {
            "title": "Thursday, July 21, 2022",
            "body": "You have 3 scheduled events today, the first begins at 8:00:00 AM."
          },
          "detail": {
            "type": "card",
            "body": [
              {
                "type": "TextBlock",
                "text": "Monthly All Hands",
                "weight": "bolder",
                "size": "medium",
                "separator": false,
                "spacing": "extraLarge",
                "color": "dark"
              },
              {
                "type": "TextBlock",
                "text": "**8:00:00 AM to 9:00:00 AM** (1 hours)",
                "color": "dark"
              },
              {
                "type": "TextBlock",
                "text": "Elizabeth Phillips has invited you.",
                "color": "dark",
                "spacing": "none"
              },
              {
                "type": "TextBlock",
                "text": "Online Meeting. [Join Meeting](https://teams.microsoft.com/l/meetup-join/)",
                "color": "dark",
                "spacing": "none"
              },
              {
                "type": "TextBlock",
                "text": "[ Accepted ] ",
                "color": "dark",
                "spacing": "none"
              },
              {
                "type": "TextBlock",
                "text": "Team Huddle",
                "weight": "bolder",
                "size": "medium",
                "separator": true,
                "spacing": "extraLarge",
                "color": "medium"
              },
              {
                "type": "TextBlock",
                "text": "**10:00:00 AM to 10:30:00 AM** (0.5 hours)",
                "color": "medium"
              },
              {
                "type": "TextBlock",
                "text": "Natalie Jacobson has invited you.",
                "color": "medium",
                "spacing": "none"
              },
              {
                "type": "TextBlock",
                "text": "Online Meeting. [Join Meeting](https://teams.microsoft.com/l/meetup-join/)",
                "color": "medium",
                "spacing": "none"
              },
              {
                "type": "TextBlock",
                "text": "[ Tentative ] ",
                "color": "medium",
                "spacing": "none"
              },
              {
                "type": "TextBlock",
                "text": "Customer Demo",
                "weight": "bolder",
                "size": "medium",
                "separator": false,
                "spacing": "extraLarge",
                "color": "dark"
              },
              {
                "type": "TextBlock",
                "text": "**2:00:00 PM to 3:00:00 PM** (1 hours)",
                "color": "dark"
              },
              {
                "type": "TextBlock",
                "text": "You created this event.",
                "color": "dark",
                "spacing": "none"
              },
              {
                "type": "TextBlock",
                "text": "Online Meeting. [Join Meeting](https://teams.microsoft.com/l/meetup-join/)",
                "color": "dark",
                "spacing": "none"
              },
              {
                "type": "TextBlock",
                "text": "Conference Room B",
                "color": "dark",
                "spacing": "none"
              },
              {
                "type": "TextBlock",
                "text": "Information as of 6:00:00 AM. May not reflect any changes, additions or modifications thereafter.",
                "weight": "lighter",
                "size": "small",
                "separator": true,
                "spacing": "large"
              }
            ]
          }
        }
      }
    }
  }
]

Expense Report approved Notification Sample

Expense Report approved

[
  {
    "type": "notification.create",
    "data": {
      "location": "toknow",
      "audience": [
        {
          "type": "email",
          "value": "${WORKGRID_USERNAME}"
        }
      ],
      "version": "3.0",
      "localizations": {
        "en-US": {
          "category": "FYI Reminder",
          "from": {
            "name": "Chrome River",
            "iconUrl": "https://via.placeholder.com/64x64.png"
          },
          "summary": {
            "title": "Expense Report Approved",
            "body": "Expense report 0000777938 has been approved. [Click here](http://www.google.com) to review."
          }
        }
      }
    }
  }
]

Request approved Notification Sample

Request approved

[
  {
    "type": "notification.create",
    "data": {
      "location": "toknow",
      "audience": [
        {
          "type": "email",
          "value": "${WORKGRID_USERNAME}"
        }
      ],
      "version": "3.0",
      "localizations": {
        "en-US": {
          "category": "FYI Reminder",
          "from": {
            "name": "SAP Ariba",
            "iconUrl": "https://via.placeholder.com/64x64.png"
          },
          "summary": {
            "title": "Request Approved",
            "body": "Request PR5349 for 'Apple MacBook Pro 16-inch, i7, 16 GB, 512 SSD' of amount $2,282.60 has been Approved."
          }
        }
      }
    }
  }
]

Time Sheet approved Notification Sample

Time sheet approved

[
  {
    "type": "notification.create",
    "data": {
      "location": "toknow",
      "audience": [
        {
          "type": "email",
          "value": "${WORKGRID_USERNAME}"
        }
      ],
      "version": "3.0",
      "localizations": {
        "en-US": {
          "category": "FYI Reminder",
          "from": {
            "name": "SAP Fieldglass",
            "iconUrl": "https://via.placeholder.com/64x64.png"
          },
          "summary": {
            "title": "Time Sheet",
            "body": "LMTS00160554, in the amount of $3750.00, has been approved."
          },
          "detail": {
            "type": "card",
            "body": [
              {
                "type": "TextBlock",
                "text": "Review the details of the request below:",
                "weight": "lighter",
                "size": "small",
                "isSubtle": true
              },
              {
                "type": "TextBlock",
                "text": "Time Sheet",
                "weight": "bolder",
                "size": "medium",
                "wrap": false,
                "separator": false
              },
              {
                "type": "ColumnSet",
                "columns": [
                  {
                    "type": "Column",
                    "items": [
                      {
                        "type": "TextBlock",
                        "text": "Name",
                        "weight": "bolder"
                      },
                      {
                        "type": "TextBlock",
                        "text": "Ref",
                        "weight": "bolder"
                      },
                      {
                        "type": "TextBlock",
                        "text": "Start Date",
                        "weight": "bolder"
                      },
                      {
                        "type": "TextBlock",
                        "text": "Amount",
                        "weight": "bolder"
                      }
                    ]
                  },
                  {
                    "type": "Column",
                    "items": [
                      {
                        "type": "TextBlock",
                        "text": "James Durgin"
                      },
                      {
                        "type": "TextBlock",
                        "text": "LMTS00160554"
                      },
                      {
                        "type": "TextBlock",
                        "text": "7/11/2022"
                      },
                      {
                        "type": "TextBlock",
                        "text": "$3750.00"
                      }
                    ]
                  }
                ]
              },
              {
                "type": "TextBlock",
                "text": "Hours Log",
                "weight": "bolder",
                "size": "medium",
                "spacing": "medium",
                "wrap": false,
                "separator": false
              },
              {
                "type": "ColumnSet",
                "columns": [
                  {
                    "type": "Column",
                    "items": [
                      {
                        "type": "TextBlock",
                        "text": "7/11/2022"
                      },
                      {
                        "type": "TextBlock",
                        "text": "7/12/2022"
                      },
                      {
                        "type": "TextBlock",
                        "text": "7/13/2022"
                      },
                      {
                        "type": "TextBlock",
                        "text": "7/14/2022"
                      },
                      {
                        "type": "TextBlock",
                        "text": "7/15/2022"
                      },
                      {
                        "type": "TextBlock",
                        "text": "Total",
                        "weight": "bolder"
                      }
                    ]
                  },
                  {
                    "type": "Column",
                    "spacing": "small",
                    "items": [
                      {
                        "type": "TextBlock",
                        "text": "8.0 hrs"
                      },
                      {
                        "type": "TextBlock",
                        "text": "9.0 hrs"
                      },
                      {
                        "type": "TextBlock",
                        "text": "10.0 hrs"
                      },
                      {
                        "type": "TextBlock",
                        "text": "8.0 hrs"
                      },
                      {
                        "type": "TextBlock",
                        "text": "8.0 hrs"
                      },
                      {
                        "type": "TextBlock",
                        "text": "43.0 hrs",
                        "weight": "bolder"
                      }
                    ]
                  }
                ]
              },
              {
                "type": "TextBlock",
                "text": "[View full record in SAP Fieldglass](https://www.google.com)"
              }
            ]
          }
        }
      }
    }
  }
]

Transfer Request Notification Sample

Transfer Request

[
  {
    "type": "notification.create",
    "data": {
      "location": "toknow",
      "audience": [
        {
          "type": "email",
          "value": "${WORKGRID_USERNAME}"
        }
      ],
      "version": "3.0",
      "localizations": {
        "en-US": {
          "category": "Reminder FYI",
          "from": {
            "name": "Oracle HCM",
            "iconUrl": "https://via.placeholder.com/64x64.png"
          },
          "summary": {
            "title": "Transfer Request",
            "body": "Transfer for James Durgin, 0989765, has been completed and moved to APPROVE status."
          },
          "detail": {
            "type": "card",
            "body": [
              {
                "type": "TextBlock",
                "text": "Review the details of the request below:",
                "weight": "lighter",
                "size": "small",
                "isSubtle": true
              },
              {
                "type": "TextBlock",
                "text": "Transfer Request",
                "weight": "bolder",
                "size": "medium",
                "wrap": false
              },
              {
                "type": "FactSet",
                "spacing": "medium",
                "facts": [
                  {
                    "type": "Fact",
                    "title": "Submitted by:",
                    "value": "Natasha Ingraham"
                  },
                  {
                    "type": "Fact",
                    "title": "Date Submitted",
                    "value": "31st July 2022"
                  },
                  {
                    "type": "Fact",
                    "title": "Effective Start Date:",
                    "value": "1st August 2022"
                  },
                  {
                    "type": "Fact",
                    "title": "Salary Change Indicator:",
                    "value": "NO"
                  }
                ]
              },
              {
                "type": "TextBlock",
                "text": "Transfer Request Details",
                "wrap": false,
                "weight": "bolder",
                "size": "medium",
                "color": "dark"
              },
              {
                "type": "ColumnSet",
                "spacing": "medium",
                "separator": true,
                "columns": [
                  {
                    "type": "Column",
                    "width": 1,
                    "items": [
                      {
                        "type": "TextBlock",
                        "text": "Description",
                        "isSubtle": true,
                        "weight": "default",
                        "color": "dark",
                        "size": "small"
                      }
                    ]
                  },
                  {
                    "type": "Column",
                    "width": 1,
                    "items": [
                      {
                        "type": "TextBlock",
                        "text": "Current",
                        "isSubtle": true,
                        "weight": "default",
                        "color": "dark",
                        "size": "small"
                      }
                    ]
                  },
                  {
                    "type": "Column",
                    "width": 1,
                    "items": [
                      {
                        "type": "TextBlock",
                        "text": "Proposed",
                        "isSubtle": true,
                        "weight": "default",
                        "color": "dark",
                        "size": "small"
                      }
                    ]
                  }
                ]
              },
              {
                "type": "ColumnSet",
                "spacing": "medium",
                "separator": true,
                "columns": [
                  {
                    "type": "Column",
                    "width": 1,
                    "items": [
                      {
                        "type": "TextBlock",
                        "text": "Grade",
                        "isSubtle": true,
                        "weight": "default",
                        "color": "dark",
                        "size": "small"
                      }
                    ]
                  },
                  {
                    "type": "Column",
                    "width": 1,
                    "items": [
                      {
                        "type": "TextBlock",
                        "text": "16.1.F",
                        "isSubtle": true,
                        "weight": "default",
                        "color": "dark",
                        "size": "small"
                      }
                    ]
                  },
                  {
                    "type": "Column",
                    "width": 1,
                    "items": [
                      {
                        "type": "TextBlock",
                        "text": "13.1.E",
                        "isSubtle": true,
                        "weight": "default",
                        "color": "dark",
                        "size": "small"
                      }
                    ]
                  }
                ]
              },
              {
                "type": "ColumnSet",
                "spacing": "medium",
                "separator": true,
                "columns": [
                  {
                    "type": "Column",
                    "width": 1,
                    "items": [
                      {
                        "type": "TextBlock",
                        "text": "Job Name",
                        "isSubtle": true,
                        "weight": "default",
                        "color": "dark",
                        "size": "small"
                      }
                    ]
                  },
                  {
                    "type": "Column",
                    "width": 1,
                    "items": [
                      {
                        "type": "TextBlock",
                        "text": "Principal Bus Systems Analyst",
                        "isSubtle": true,
                        "weight": "default",
                        "color": "dark",
                        "size": "small"
                      }
                    ]
                  },
                  {
                    "type": "Column",
                    "width": 1,
                    "items": [
                      {
                        "type": "TextBlock",
                        "text": "Analyst, Project Mgmt",
                        "isSubtle": true,
                        "weight": "default",
                        "color": "dark",
                        "size": "small"
                      }
                    ]
                  }
                ]
              },
              {
                "type": "ColumnSet",
                "spacing": "medium",
                "separator": true,
                "columns": [
                  {
                    "type": "Column",
                    "width": 1,
                    "items": [
                      {
                        "type": "TextBlock",
                        "text": "Office:",
                        "isSubtle": true,
                        "weight": "default",
                        "color": "dark",
                        "size": "small"
                      }
                    ]
                  },
                  {
                    "type": "Column",
                    "width": 1,
                    "items": [
                      {
                        "type": "TextBlock",
                        "text": "Boston, MA",
                        "isSubtle": true,
                        "weight": "default",
                        "color": "dark",
                        "size": "small"
                      }
                    ]
                  },
                  {
                    "type": "Column",
                    "width": 1,
                    "items": [
                      {
                        "type": "TextBlock",
                        "text": "017H-Seattle, WA-WeWork",
                        "isSubtle": true,
                        "weight": "default",
                        "color": "dark",
                        "size": "small"
                      }
                    ]
                  }
                ]
              },
              {
                "type": "ColumnSet",
                "spacing": "medium",
                "separator": true,
                "columns": [
                  {
                    "type": "Column",
                    "width": 1,
                    "items": [
                      {
                        "type": "TextBlock",
                        "text": "Organization Named:",
                        "isSubtle": true,
                        "weight": "default",
                        "color": "dark",
                        "size": "small"
                      }
                    ]
                  },
                  {
                    "type": "Column",
                    "width": 1,
                    "items": [
                      {
                        "type": "TextBlock",
                        "text": "0001-04406 CF - Global Talent Technology",
                        "isSubtle": true,
                        "weight": "default",
                        "color": "dark",
                        "size": "small"
                      }
                    ]
                  },
                  {
                    "type": "Column",
                    "width": 1,
                    "items": [
                      {
                        "type": "TextBlock",
                        "text": "0001-00214 End-User Technology",
                        "isSubtle": true,
                        "weight": "default",
                        "color": "dark",
                        "size": "small"
                      }
                    ]
                  }
                ]
              }
            ]
          }
        }
      }
    }
  }
]

IT Helpdesk status new comment Notification Sample

IT Helpdesk status

[
  {
    "type": "notification.create",
    "data": {
      "location": "toknow",
      "audience": [
        {
          "type": "email",
          "value": "${WORKGRID_USERNAME}"
        }
      ],
      "version": "3.0",
      "localizations": {
        "en-US": {
          "category": "FYI",
          "from": {
            "name": "IT Help Desk",
            "iconUrl": "https://via.placeholder.com/64x64.png"
          },
          "summary": {
            "title": "Incident Status Update",
            "body": "There is a new comment on your incident ticket Unable to Connect to VPN (INC0010008)."
          },
          "detail": {
            "type": "card",
            "body": [
              {
                "type": "TextBlock",
                "text": "Comments from today @ 12:30pm:",
                "weight": "bolder",
                "size": "small",
                "isSubtle": true
              },
              {
                "type": "TextBlock",
                "text": "Hello, I am having a look at this.  Have you recently had a password change?",
                "wrap": true,
                "color": "dark"
              },
              {
                "type": "TextBlock",
                "text": "Request Details",
                "wrap": true,
                "weight": "bolder",
                "size": "large",
                "color": "dark",
                "spacing": "large",
                "separator": true
              },
              {
                "type": "TextBlock",
                "text": "Description",
                "wrap": true,
                "weight": "bolder",
                "color": "dark"
              },
              {
                "type": "TextBlock",
                "text": "Unable to Connect to VPN",
                "wrap": true,
                "color": "dark",
                "spacing": "none"
              },
              {
                "type": "TextBlock",
                "text": "Number",
                "wrap": true,
                "weight": "bolder",
                "color": "dark"
              },
              {
                "type": "TextBlock",
                "text": "INC0010008",
                "wrap": true,
                "color": "dark",
                "spacing": "none"
              },
              {
                "type": "TextBlock",
                "text": "Opened",
                "wrap": true,
                "weight": "bolder",
                "color": "dark"
              },
              {
                "type": "TextBlock",
                "text": "Today",
                "wrap": true,
                "color": "dark",
                "spacing": "none"
              },
              {
                "type": "TextBlock",
                "text": "Assigned to",
                "wrap": true,
                "weight": "bolder",
                "color": "dark"
              },
              {
                "type": "TextBlock",
                "text": "Arya Hajarha",
                "wrap": true,
                "color": "dark",
                "spacing": "none"
              },
              {
                "type": "TextBlock",
                "text": "Additional comments",
                "wrap": true,
                "weight": "bolder",
                "color": "dark",
                "spacing": "large"
              },
              {
                "type": "TextBlock",
                "text": "I have been unable to connect to VPN since this morning.",
                "wrap": true,
                "color": "dark",
                "spacing": "none"
              }
            ]
          }
        }
      }
    }
  }
]