This Use Case demonstrates the capability of sending SMS to customers via an Adaptive Card presented to the Agent. To achieve this, the Nimbus Nimbus Power Automate Connector waits for the “Agent answers a Nimbus call” trigger, which then creates an Adaptive Card Agent for the Agent to send an outbound SMS message to the Caller.
Important: This Use Case is only for OUTBOUND Instant Messaging only. It does not provide any functionality for inbound messaging and serves only to allow the Agent to send information outbound to the Caller!
PRECONDITIONS
- Nimbus Power Automate Connector preconditions must be met (Nimbus Service, User Roles, Microsoft Power Automate Premium License).
- This Use Case example uses Twilio as the messaging service, however other services such Microsoft Azure communication Services can be used.
Create Power Automate Flow
- Start with the When a task changes state trigger of the Nimbus Connector.
Field | Fill in / Use Dynamic Content | |
---|---|---|
Service item | Select the UPN of the Service | |
Task Events | Select Connected to User |
Description | Screenshot |
---|---|
Add an Initialize variable element to the flow and set
|
|
Add another Initialize Variable, set
|
|
For Initialize Variable 1, under settings:
|
Add the Adaptive Card
Description | Screenshot | ||||
---|---|---|---|---|---|
Add a Post adaptive card and wait for a response action | |||||
Set the following
|
|||||
For the message you will need a Adaptive Card template. You can a service such as:
… to help you design your Adaptive Card and paste the code into the message section.
💡We have also prepared an example card code below.
|
An example: |
||||
Code example: Adaptive Card - To send message
|
Parse the Json
Description | Screenshot |
---|---|
|
|
Add a Set Variable action. Set:
|
|
Add a Twilio send Text Message (SMS) action*
✅ * This requires a Twilio account and you need to authenticate with to use this service. Of course you can substitute this with any service you like
Set the following:
|