Brian's Integration and Automation Notes
  • Welcome!
  • Allow Me to Brag a Bit
  • About
  • Integrations
    • ConnectWise Home
      • Authentication
      • API Documentation
  • Automations
    • Teams Notifications Azure Bot
      • Acknowledgement
      • Considerations
      • The Basics/Getting Started
        • Create a Response Handler Workflow in Rewst
        • Getting the IDs from Teams
      • Two Stage Message Process
        • Formatting the Initial Message
        • Getting the Message IDs
        • Formatting the Message Update
      • Formatting Action Buttons
        • Approve/Deny
        • Assign Resource to Ticket
      • Working with the Responses
      • System Incident/Maintance Notifications
        • Admitting Defeat on the Database
        • The Workflow Structure
      • Resources
    • Automated GitHub/GitBook Update Notifications
      • Prerequisites
      • 1. Set up a Basic Workflow
      • 2. Fork the GitHub Repository
      • 3. Set up Automatic Updates
      • 4. Set up notifications in GitHub
      • 5. Set up Remaining Workflow Actions
  • ConnectWise PSA Actions
    • About
    • Assigning Resources to Tickets
    • Ticket Assignment Note
    • Unbundle Ticket
    • Sales Activity Assignment Note
Powered by GitBook
On this page
  1. Automations
  2. Teams Notifications Azure Bot
  3. Two Stage Message Process

Getting the Message IDs

PreviousFormatting the Initial MessageNextFormatting the Message Update

Last updated 1 year ago

In Rewst, I have built out a subworkflow to handle sending an initial message. I've added this sub-workflow to each parent workflow that needs to send an initial message. I set the "Publish Results As" for the initial message as "CTX.send_results". The response to sending a message is a JSON payload with the "card_id" and "card_activity_id". You require both of these items to be able to update a message at a later time. Add these two items to the "Submit" action in your Adaptive Card to ensure they are included in the response on submission.

In the sub-workflow that looks like this:

I will link the sub-workflows under Resources

Sub-workflow Outputs
Action Results in the Sub-Workflow