Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
2db3173
Staffbase Connector
Nm-jens May 5, 2021
0bb40e8
Staffbase Connector
Nm-jens May 5, 2021
3c0846d
Merge branch 'dev' of https://github.com/Staffbase/PowerPlatformConne…
Nm-jens Aug 19, 2021
05eda45
- Move common code to definitions
Nm-jens Aug 19, 2021
27b6221
Fixed spelling Error
Nm-jens Aug 20, 2021
623c12e
Fixed description for /posts query parameter
Nm-jens Aug 20, 2021
34a9ff2
Moved connector from custom-connectors into certified connectors
Nm-jens Aug 20, 2021
0f5ff51
Fixed missing description
Nm-jens Aug 20, 2021
7d0efe6
Fixed icon brand color
Nm-jens Aug 20, 2021
d5d2713
Fixed:
Nm-jens Aug 24, 2021
2526bb4
Added missing README.md
Nm-jens Aug 26, 2021
416c94e
Fixed apiProperties.json Unicode problems
Nm-jens Sep 1, 2021
e9e3e53
Fixed Background Color
Nm-jens Sep 27, 2021
d1f038b
Merge remote-tracking branch 'upstream/master' into dev
Nm-jens Sep 27, 2021
0f49b42
Delete Readme.md
Nm-jens Sep 28, 2021
c296bdd
Delete apiDefinition.swagger.json
Nm-jens Sep 28, 2021
295aa1a
Delete apiProperties.json
Nm-jens Sep 28, 2021
558a4a7
Fixed connection renamed hosting URL to host
Nm-jens Oct 14, 2021
673d6cc
Fix for Hosting ID field description
Nm-jens Oct 22, 2021
72bfd2b
Merge branch 'dev' into dev
Nm-jens Oct 22, 2021
91cc616
Version 3 Update
Nm-jens Aug 29, 2022
b1fcf84
Added parameters for posts: manageable and content type
Nm-jens Oct 20, 2022
ac530dd
Merge branch 'dev' of https://github.com/Staffbase/PowerPlatformConne…
Nm-jens Oct 20, 2022
451dfb9
PostsGetAll: Added enum for contentType parameter
Nm-jens Oct 20, 2022
7a5e728
Removed code-workspace from repo
Nm-jens Oct 21, 2022
3788ada
MINT-999 update description
PrzemekPierscinski Jun 13, 2024
1500441
Merge pull request #1 from Staffbase/PrzemekPierscinski-patch-1
PrzemekPierscinski Jun 13, 2024
b033536
feat: full update — align Staffbase connector with all available APIs
maximizeIT Mar 21, 2026
06e3abf
Merge branch 'dev' into feat-staffbase-connector-full-update
maximizeIT Mar 21, 2026
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
297 changes: 224 additions & 73 deletions certified-connectors/Staffbase/README.md
Original file line number Diff line number Diff line change
@@ -1,107 +1,258 @@
# Staffbase connector

With the Staffbase connector for Power Automate you bridge the gap between different tools and systems and include the Staffbase platform in your automated workflows. Leverage the power of automated workflows that include your employee app or intranet to automate processes, run tasks on a schedule, or notify users as events take place.

## Prerequisites

* A Microsoft Power Apps or Power Automate plan with custom connector feature
* A Staffbase license for your organization
* A Staffbase license for your organization
* The role of administrator for your organization on the Staffbase platform
* The [API token](https://support.staffbase.com/hc/en-us/articles/360015755691) to configure authentication
* Information on which Staffasbe infrastructure your application is hosted on, reach out to support@staffbase.com for more information

## Supported Operations

### ChannelsGetList
Get a list of news channels

### ChannelsGetPosts
Get a list of posts within the specified channel

### ChannelsPostPost
Send a post to specific channel

### CommentsGet
Get all comments from your Staffbase instance

### MediaGet
Get all media from your Staffbase instance

### MediaGetByID
Get media by ID
* [Information](https://support.staffbase.com/hc/en-us/articles/4404976026386) on which Staffbase infrastructure your application is hosted on

### MediaDelete
Delete media by ID

### NotificationPost
Sends notification to user(s)

### PostsGetAll
Get a list of posts

### PostsGetByID
Get a post by ID
## Obtaining Credentials

### PostsDelete
Removes a post
For authentication between your Staffbase platform and Power Automate, you need an API token. You can [generate an API token](https://support.staffbase.com/hc/en-us/articles/360015755691) from the Staffbase Studio.

### PostsPut
Updates a post
## Getting Started

### UserGetAll
Get list of users
Configure the connector with basic authentication and the hosting URL.

### UserPost
Invite an user by firstname, lastname and eMail
1. In Power Automate, navigate to **Connectors**.
2. Search for **Staffbase connector**.
3. Click on the Staffbase connector. A dialog to configure the connector opens.
4. In the **API Token** field, add the API token using the following syntax: `Basic [API-Token]`

### UserGetByID
Get user information
> **Note:** You need to add an empty space between `Basic` and the API token.

### User_delete
Delete User by ID
In the **Host ID** field, enter the identifier for the infrastructure where your Staffbase platform is hosted:
* German infrastructure: **de1**
* International infrastructure: **us1**

### UserPut
Update user information
For detailed information, visit the [Staffbase Support Portal](https://support.staffbase.com/hc/en-us/articles/360017381759).

### UserPostRecovery
Send a recovery email
## Token Permissions

### ProxyVersionGet
Just for internal usage, to check the current API proxy version
| Level | Suitable For |
|---|---|
| **Read-only** | Analytics, Tags, Post/Channel/User/Space search operations |
| **Editorial** | Notifications, creating/updating Posts, Pages, Campaigns |
| **Admin** | Users (create/update/delete), Groups, Spaces, CSV Import, File Management, Quick Links, Media (upload/delete) |

## Obtaining Credentials
For the basic authentication between your Staffbase platform and the workflow created in Power Automate, you need an API token. You can [generate the API](https://support.staffbase.com/hc/en-us/articles/360015755691-Generating-an-API-Token) token from the Staffbase Experience Studio.
## Supported Operations

## Getting Started
Configure the connector with basic authentication and the hosting URL.

1. In Power Automate, navigate to Connectors.
2. Search for Staffbase connector.
3. Click on the Staffbase connector.
A dialog to configure the connector opens.
5. In the API Token field, add the API token using the following syntax: Basic [API-Token]

__Note__: You need to add an empty space between 'Basic' and the API token.

In the Host ID field, enter the identifier for the infrastructure where your Staffbase platform is hosted:
* German infrastructure: **de1**
* International infrastructure: **us1**

For detailed information, visit the [Staffbase Support Portal](https://support.staffbase.com/hc/en-us/articles/360017381759-Automating-Workflows-With-the-Staffbase-Connector-for-Power-Automate).
### Notifications

| Operation | Method | Path | Visibility |
|---|---|---|---|
| Send Notification | POST | /branch/notifications | Important |

### Posts & Channels

| Operation | Method | Path | Visibility |
|---|---|---|---|
| Channels: Get list | GET | /channels | Important |
| Channels: Get branch channels | GET | /branch/channels | Important |
| Channels: Get by ID | GET | /channels/{channelID} | Important |
| Channels: Get posts in channel | GET | /channels/{channelID}/posts | Important |
| Channels: Create post in channel | POST | /channels/{channelID}/posts | Important |
| Posts: Get all | GET | /posts | Important |
| Posts: Create post | POST | /posts | Important |
| Posts: Get by ID | GET | /posts/{pageID} | Important |
| Posts: Update | PUT | /posts/{pageID} | Important |
| Posts: Delete | DELETE | /posts/{pageID} | Advanced |
| Posts: Search | GET | /posts/search | Important |
| Posts: Resend notifications | POST | /posts/{pageID}/notifications | Important |
| Posts: Get acknowledgements | GET | /posts/{pageID}/acknowledgements | Advanced |

### Comments

| Operation | Method | Path | Visibility |
|---|---|---|---|
| Comments: Get all | GET | /comments | Important |

### Media

| Operation | Method | Path | Visibility |
|---|---|---|---|
| Media: Get all | GET | /media | Important |
| Media: Upload | POST | /media | Important |
| Media: Get by ID | GET | /media/{mediumID} | Important |
| Media: Delete | DELETE | /media/{mediumID} | Advanced |
| Media: Replace | PUT | /media/{mediumID} | Important |
| Media: Search | GET | /media/search | Important |
| Media: Publish | POST | /media/publish | Important |

### Users

| Operation | Method | Path | Visibility |
|---|---|---|---|
| Users: Get all | GET | /users | Important |
| Users: Create user | POST | /users | Important |
| Users: Get by ID | GET | /users/{userID} | Important |
| Users: Update | PUT | /users/{userID} | Important |
| Users: Delete | DELETE | /users/{userID} | Advanced |
| Users: Partial update | PATCH | /users/{userID} | Important |
| Users: Search | GET | /users/search | Important |
| Users: Sync | GET | /users/sync | Important |
| Users: Get groups | GET | /users/{userID}/groups | Important |
| Users: Search groups | GET | /users/{userID}/groups/search | Important |
| Users: Get visible groups | GET | /users/{userID}/groups/visible | Important |
| Users: Delete sessions | DELETE | /users/{userID}/sessions | Advanced |
| Users: Send recovery email | POST | /users/{userID}/recovery | Important |

### Pages

| Operation | Method | Path | Visibility |
|---|---|---|---|
| Pages: Get list | GET | /pages | Important |
| Pages: Create | POST | /pages | Important |
| Pages: Sync (external system sync) | GET | /pages/sync | Advanced |
| Pages: Get by ID | GET | /pages/{pageId} | Important |
| Pages: Update | PUT | /pages/{pageId} | Important |
| Pages: Delete | DELETE | /pages/{pageId} | Advanced |

### Groups

| Operation | Method | Path | Visibility |
|---|---|---|---|
| Groups: Get list | GET | /groups | Important |
| Groups: Create | POST | /groups | Important |
| Groups: Search | GET | /groups/search | Important |
| Groups: Get by ID | GET | /groups/{groupId} | Important |
| Groups: Partial update | PATCH | /groups/{groupId} | Important |
| Groups: Delete | DELETE | /groups/{groupId} | Advanced |
| Groups: Search members | GET | /groups/{groupId}/members/search | Important |
| Groups: Add or remove members | PATCH | /groups/{groupId}/members | Important |

### Spaces

| Operation | Method | Path | Visibility |
|---|---|---|---|
| Spaces: Get list | GET | /spaces | Important |
| Spaces: Create | POST | /spaces | Important |
| Spaces: Search | GET | /spaces/search | Important |
| Spaces: Get by ID | GET | /spaces/{spaceId} | Important |
| Spaces: Update | PUT | /spaces/{spaceId} | Important |
| Spaces: Delete | DELETE | /spaces/{spaceId} | Advanced |

### Campaigns

| Operation | Method | Path | Visibility |
|---|---|---|---|
| Campaigns: List | GET | /campaigns | Important |
| Campaigns: Create | POST | /campaigns | Important |
| Campaigns: Get by ID | GET | /campaigns/{campaignId} | Important |
| Campaigns: Update | PUT | /campaigns/{campaignId} | Important |
| Campaigns: Delete | DELETE | /campaigns/{campaignId} | Advanced |
| Campaigns: List references | GET | /campaigns/{campaignId}/references | Important |
| Campaigns: Add reference | POST | /campaigns/{campaignId}/references | Important |
| Campaigns: Delete reference | DELETE | /campaigns/{campaignId}/references/{sourceType}/{sourceId} | Advanced |

### Tags

| Operation | Method | Path | Visibility |
|---|---|---|---|
| Tags: Get user profile tags | GET | /tags | Important |

### Quick Links

| Operation | Method | Path | Visibility |
|---|---|---|---|
| Quick Links: Get all | GET | /branch/quicklinks | Important |
| Quick Links: Create | POST | /branch/quicklinks | Important |
| Quick Links: Get by ID | GET | /branch/quicklinks/{quickLinkId} | Important |
| Quick Links: Update | POST | /branch/quicklinks/{quickLinkId} | Important |
| Quick Links: Delete | DELETE | /branch/quicklinks/{quickLinkId} | Advanced |

### Page Templates

| Operation | Method | Path | Visibility |
|---|---|---|---|
| Templates: Get list | GET | /templates | Important |
| Templates: Create | POST | /templates | Important |
| Templates: Get by ID | GET | /templates/{templateId} | Important |
| Templates: Update | PUT | /templates/{templateId} | Important |
| Templates: Delete | DELETE | /templates/{templateId} | Advanced |

### Installations

| Operation | Method | Path | Visibility |
|---|---|---|---|
| Installations: Search | GET | /installations/search | Important |

### Analytics

| Operation | Method | Path | Visibility |
|---|---|---|---|
| Analytics: Post performance rankings | GET | /branch/analytics/posts/rankings | Advanced |
| Analytics: Post performance timeseries | GET | /branch/analytics/posts/timeseries | Advanced |
| Analytics: Content performance rankings | GET | /branch/analytics/contents/rankings | Advanced |
| Analytics: Chat activity timeseries | GET | /branch/analytics/chats/timeseries | Advanced |
| Analytics: User engagement timeseries | GET | /branch/analytics/v2/users/timeseries | Advanced |

### Email Performance

| Operation | Method | Path | Visibility |
|---|---|---|---|
| Email Performance: List emails | GET | /email-performance/emails | Advanced |
| Email Performance: Get email metadata | GET | /email-performance/emails/{emailId} | Advanced |
| Email Performance: Get click rate | GET | /email-performance/{emailId}/clicks | Advanced |
| Email Performance: Get open rate | GET | /email-performance/{emailId}/opens | Advanced |
| Email Performance: Get recipient count | GET | /email-performance/{emailId}/recipient-count | Advanced |
| Email Performance: Get top clicked links | GET | /email-performance/{emailId}/top-clicked-links | Advanced |
| Email Performance: Get engagement trend | GET | /email-performance/{emailId}/engagement-trend | Advanced |
| Email Performance: Get total activity over time | GET | /email-performance/{emailId}/total-activity-over-time | Advanced |
| Email Performance: Get unique activity over time | GET | /email-performance/{emailId}/unique-activity-over-time | Advanced |
| Email Performance: Get audience groups | GET | /email-performance/{emailId}/user-groups | Advanced |

### CSV Import

| Operation | Method | Path | Visibility |
|---|---|---|---|
| CSV Import: List imports | GET | /users/imports | Important |
| CSV Import: Upload CSV file | POST | /users/imports | Important |
| CSV Import: Get import by ID | GET | /users/imports/{importId} | Important |
| CSV Import: Update import status | PATCH | /users/imports/{importId} | Important |
| CSV Import: Delete import | DELETE | /users/imports/{importId} | Advanced |
| CSV Import: Get processing status | GET | /users/imports/{importId}/status | Important |
| CSV Import: Get configuration | GET | /users/imports/{importId}/config | Advanced |
| CSV Import: Set configuration | PATCH | /users/imports/{importId}/config | Advanced |

### File Management

| Operation | Method | Path | Visibility |
|---|---|---|---|
| File Management: Create collection | POST | /medialibrary/collections | Important |
| File Management: List collections | GET | /medialibrary/collections | Important |
| File Management: List all collections (admin) | GET | /medialibrary/collections/all | Advanced |
| File Management: Get collection | GET | /medialibrary/collections/{collectionId} | Important |
| File Management: Update collection | PUT | /medialibrary/collections/{collectionId} | Important |
| File Management: Delete collection | DELETE | /medialibrary/collections/{collectionId} | Important |
| File Management: Add files to collection | POST | /medialibrary/collections/{collectionId}/entries | Important |
| File Management: List files in collection | GET | /medialibrary/collections/{collectionId}/entries | Important |
| File Management: Remove files from collection | POST | /medialibrary/collections/{collectionId}/entries/delete | Important |
| File Management: Search media files | POST | /medialibrary/entries | Important |
| File Management: Associate file with media library | PUT | /medialibrary/entries/{mediumId} | Important |

## Known Issues and Limitations
The Staffbase connector currently does not support all Staffbase API features.
For more detailed information on Staffbase APIs, visit the [Staffbase Developer Portal](http://rs.staffbase.com/#developer-portal).

* The Staffbase connector does not support all Staffbase API features.
* Search Settings API locale transformation is not supported.
* For more detailed information on Staffbase APIs, visit the [Staffbase Developer Portal](http://developers.staffbase.com).

## Frequently Asked Questions

### What business workflows can be automated using the Staffbase connector?
Many business processes can be automated using the Staffbase connector. For example, notify your employees directly in their employee app or intranet as and when actions take place in other tools. Learn more about such business use cases [here](https://support.staffbase.com/hc/en-us/articles/360017639140-Automate-Business-Workflows-With-Staffbase-and-Power-Automate).

Many business processes can be automated using the Staffbase connector. For example, notify your employees directly in their employee app or intranet as and when actions take place in other tools. Learn more about such business use cases [here](https://support.staffbase.com/hc/en-us/articles/360017639140).

### Are there tutorials to help me get started with an automated workflow using the Staffbase connector?
Staffbase offers tutorials that use our Forms plugin and the Staffbase connector to automate your facility management. Learn all about how to set it up in this [section](https://support.staffbase.com/hc/en-us/sections/360004870179-Integration-Using-Forms-Plugin).

Staffbase offers tutorials that use our Forms plugin and the Staffbase connector to automate your facility management. Learn all about how to set it up in this [section](https://support.staffbase.com/hc/en-us/sections/360004870179).

## Deployment Instructions

Run the following commands and follow the prompts:
```paconn
paconn create --api-def apiDefinition.swagger.json --api-prop apiProperties.json --secret <client_secret>
Expand Down
Loading