Skip to content

docs(slack): add scopes per operation, use case examples, and compatibility - #3307

Open
endikafercu wants to merge 3 commits into
bonitasoft:2024.3from
endikafercu:cherry-pick/slack-docs-to-2024.3
Open

docs(slack): add scopes per operation, use case examples, and compatibility#3307
endikafercu wants to merge 3 commits into
bonitasoft:2024.3from
endikafercu:cherry-pick/slack-docs-to-2024.3

Conversation

@endikafercu

Copy link
Copy Markdown

Summary

Updates the Slack connector documentation page with improvements discovered during real end-to-end testing of all 6 operations in Bonita Studio.

Builds on top of #3280 (cherry-pick/slack-docs-to-2024.3).

Changes

Scopes per operation (key improvement)

Replaced the scope-centric table with an operation-centric table that shows exactly which scopes each operation needs, plus the Slack API methods used. This was the #1 pain point during testing -- users need to know "I want to send a DM, what scopes do I add?"

Use case examples (new)

Three real-world patterns:

  1. Project channel workflow: Create channel -> Invite team -> Send welcome message
  2. Status update + file upload: Send message -> Generate report -> Upload file -> Update status
  3. Direct notification by email: Send DM using recipientEmail

Other additions

  • Availability line (per skill3 convention)
  • Title plural "Slack connectors" (per skill3)
  • Tip: recommend recipientEmail over recipientUserId
  • Troubleshooting: channel_not_found, Studio dependency "not found"
  • Compatibility matrix (Bonita 10.2+, Java 17+, Slack SDK 1.48.0)
  • Source code link

Related

cc @pabloalonso

pabloalonso and others added 3 commits April 1, 2026 09:45
## Summary
- Add comprehensive documentation for the Slack connector (6 operations:
Send Message, Send DM, Update Message, Upload File, Create Channel,
Invite to Channel)
- Covers Slack App setup, required OAuth scopes, all input/output
parameters per operation, retry behavior, and troubleshooting
- Add navigation entry and connector index card

## Files changed
- `modules/process/pages/slack-connector.adoc` — new documentation page
- `modules/process/process-nav.adoc` — nav entry under Bonita official
connectors
- `modules/process/pages/connectors-index.adoc` — index card

## Test plan
- [ ] Verify Antora build succeeds
- [ ] Verify all xref links resolve correctly
- [ ] Review parameter tables match connector .def files
- [ ] Check preview rendering

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: tbouffard <27200110+tbouffard@users.noreply.github.com>
Updates based on end-to-end testing of all 6 operations in
Bonita Studio 2026.1 and Bonita 10.4.0 Docker:

- Add availability line (required by skill3)
- Title: "Slack connectors" (plural, per skill3 convention)
- Rewrite scopes section: table per OPERATION (not per scope),
  including Slack API methods used. Much clearer for configuration.
- Add tips: recommend recipientEmail over recipientUserId for DMs
- Add 3 use case examples: project channel workflow, status update
  with file upload, direct notification by email
- Add troubleshooting: channel_not_found, Studio "not found" deps
- Add compatibility matrix (Bonita 10.2+, Java 17+, SDK 1.48.0)
- Add source code link to GitHub

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

📝 Contribution Summary

To merge this Pull Request, you need to check your updates with the following URL.

🔗 Updated pages

Note

The following pages were updated, please ensure that the display is correct:

@bonita-ci

bonita-ci commented Apr 20, 2026

Copy link
Copy Markdown
Contributor

🎊 PR Preview 4cb779a has been successfully built and deployed to https://bonitasoft-bonita-doc-deploy-pr-3307.surge.sh

🕐 Build time: 0.011s

🤖 By surge-preview

@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
2 out of 3 committers have signed the CLA.

✅ endikafercu
✅ pabloalonso
❌ Copilot
You have signed the CLA already but the status is still pending? Let us recheck it.

@github-actions

github-actions Bot commented May 5, 2026

Copy link
Copy Markdown
Contributor

This PR is stale because it has been open 14 days with no activity. Remove stale label or comment or this will be closed in 10 days.

@github-actions github-actions Bot added the Stale - no activity Untouched PR, will be automatically closed soon label May 5, 2026
@tbouffard tbouffard added no-stale Special PR that requires more time prior being merged and removed Stale - no activity Untouched PR, will be automatically closed soon labels May 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-stale Special PR that requires more time prior being merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants