Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
49 changes: 38 additions & 11 deletions Documentation/Deployment-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,38 +71,40 @@ Note - You must create ALL of the columns below even if you are not deploying th
| PromptsCopied | Number
| PromptsLiked | Number

8. Create a list named 'Configuration'.
9. Create the following columns:
8. Create a single item in the 'Reporting' list with the value of each column set to 0.

9. Create a list named 'Configuration'.
10. Create the following columns:

| Column Name | Type |
| -------- | ------- |
| Value | Single line of text

10. Create a list item in the above list with the following details:
11. Create a list item in the above list with the following details:

Title: AppId

Value: Leave empty

11. Create a second list item in the above list with the following details:
12. Create a second list item in the above list with the following details:

Title: ServiceAccountUPN

Value: UPN (Email) of your service account

12. Create a third list item in the above list with the following details:
13. Create a third list item in the above list with the following details:

Title: PromptBuddyInstalled

Value: 'true' (if you wish to integrate with Prompt Buddy) or 'false'.

13. Create a fourth list item in the above list with the following details:
14. Create a fourth list item in the above list with the following details:

Title: ShowShareEngage

Value: 'true' (if you wish to allow sharing to Viva Engage) or 'false'.

14. Create a fifth list item in the above list with the following details:
15. Create a fifth list item in the above list with the following details:

Title: ShowShareUsers

Expand All @@ -121,15 +123,25 @@ Value: 'true' (if you wish to allow sharing to users) or 'false'.
9. Obtain the **'ID'** for the Power App by clicking the elipsis next to the app.
10. Copy the **App ID** value and paste this into the **Value** column of the list item you created in the **Configuration** list.

## Step 3: Share the app/flows
## Step 3: Turn on the flows

On occasion the flows are turned off on import and they need to be turned on. Follow the steps below to turn on each flow.

1. Navigate to **Power Apps** as the service account.
2. Click on the **Flows** tab.
3. Click on the **Send Prompt** flow.
4. Click the 'Turn on' option on the top menu.
5. Repeat this process for the following flows - **'Send Scheduled Prompt'**, **'Like Prompt'**

## Step 4: Share the app/flows

1. Locate the app under **Apps**.
2. Share the app with all users who will use Prompt Pulse (you may want to add any administrators as co-owners so they can modify the app if you wish to).
3. Test the app by 'Playing' it.

You may also wish to share the 5 flows (**'Send Scheduled Prompt'**, **'Send Prompt'**, **'Like Prompt'**, **'Get Group Chats'** and **'Get Engage Communities'**) with admins who may need to view the run history or edit them. You can find them under **Flows** in the **Power Apps** portal or in the **Power Automate** portal.

## Step 3: Add the app to Teams (Optional)
## Step 5: Add the app to Teams (Optional)

1. Navigate to **Power Apps** as the account you wish to install the app for and click 'Apps' in the left pane, you should see the Prompt Pulse Power App. You may need to select the correct Environment in which you deployed the solution from the Environment menu at the top.
2. Select the app and click 'Add to Teams' from the top menu bar.
Expand All @@ -144,7 +156,7 @@ If you wish to roll the app out via policies, please refer to our general docume

Prompt Pulse can be pre-installed for all users and optionally pinned to the rail if you wish. Or you can deploy the app and allow users to add it to their Teams as a tab.

## Step 4: Configure SharePoint list permissions
## Step 6: Configure SharePoint list permissions

Before rolling out Prompt Pulse, it is neccessary to configure the permisions on the SharePoint lists to ensure users can only read/write/delete their own items.

Expand All @@ -154,7 +166,7 @@ Before rolling out Prompt Pulse, it is neccessary to configure the permisions on
4. Break permission inheritance on the **Configuration** and **Reporting** lists and ensure that only admins have write access to these lists, users should have read access.
4. Ensure that admins who may need to read, edit and delete all list items have **Full Control**/**Owner** permissions on the SharePoint site.

## Step 5: Deploy Prompt Buddy Integration
## Step 7: Deploy Prompt Buddy Integration

These steps deploy the integration between Prompt Pulse and Prompt Buddy. This integration is provided in the form of a single Flow which is responsible for syncronizing items from the Prompt Buddy dataverse tables to the Prompts SharePoint list and visa versa.

Expand Down Expand Up @@ -188,3 +200,18 @@ This flow runs on a recurrent schedule and by default runs every hour, feel free
When upgrading from V2 to V3, in addition to importing the V3 solution, be sure to create the new 'App' column in the 'Prompts' list.

See Step 1 - Create SharePoint lists.

## Viva Engage Rich Text Posts/Announcements

<img src="https://github.com/pnp/prompt-pulse/blob/main/Documentation/Images/prompt-pulse-vivaengage-post-screenshot.png?raw=true" alt="Prompt Pulse Viva Engage Announcement Screenshot"><br/>

When prompts are shared to Viva Engage, the messages can be posted as announcements with rich text support.

For this to work, the Service Account used to deploy and set up Prompt Pulse must be an admin of the selected community.

This is a manual step as Prompt Pulse will not automatically set this up. Please therefore make the Service Account an admin of those communities that you will mainly share with.

**Note - The Prompt Pulse app displays all communities that the current user is a member of regardless of the Service Account permissions.**

If the Service Account is not an admin, there is a fallback to use a plain text message.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions Documentation/Overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ From the main screen, the process for sharing a prompt is as follows:

**Note - Viva Engage and Users radio buttons are only enabled if the 'ShowShareEngage' and 'ShowShareUsers' list items in the Configuration list are set to true.**

**Note - When a prompt is shared to Viva Engage, the message will be posted as Rich Text if the Service Account used to deploy Prompt Pulse is an admin of the selected community. Otherwise a plain text message will be sent. Please see the deployment guide for more details.**

### Viewing/using prompts

From the main screen, users can view the latest 20 prompts. To use a prompt simply click the prompt **'tile'** and the prompt text will be copied to your clipboard.
Expand All @@ -68,6 +70,14 @@ To like/unlike a prompt, simply use the thumbs up icon. This will create a perso

Prompts can also be liked from the adaptive card by clicking the **Like Prompt** button.

### Prompt notifications

The following screnshots show how shared prompts appear in Teams and Viva Engage:

<img src="https://github.com/pnp/prompt-pulse/blob/main/Documentation/Images/prompt-pulse-adaptivecard-screenshot.png?raw=true" alt="Prompt Pulse Adaptive Card Screenshot"><br/>

<img src="https://github.com/pnp/prompt-pulse/blob/main/Documentation/Images/prompt-pulse-vivaengage-post-screenshot.png?raw=true" alt="Prompt Pulse Viva Engage Announcement Screenshot"><br/>

### Scheduling

Prompts can be scheduled to be sent at specific dates/times using the **Schedule** option. To view all scheduled prompts use the **Scheduled** tab. This table shows all the prompts that have been scheduled to be sent organised by date.
Expand Down Expand Up @@ -155,6 +165,7 @@ You may wish to create your own reports using tools such as Excel or PowerBI to
- Sharing prompts in a personal install of Prompt Pulse will also show these prompts in Prompt Pulse when installed as a teams tab.
- Only group chats that include the Prompt Pulse service account/user will appear in the app. Users will need to add this account into the group chat manually in order for it to display.
- The Prompt Pulse service account/user will be automatically added to Teams and Engage Communities when a prompt to the location for the first time.
- Rich Text posts in Viva Engage are only supported if the Service Account is an admin of the Community.

Bear the above in mind when using Prompt Pulse, in a future iteration we will look to add support for sharing and viewing prompts in only the team the app is installed in.

Expand Down
Binary file renamed PromptPulse_3_0_0_0.zip → PromptPulse_3_0_0_1.zip
Binary file not shown.