iachat/lib/integrations
Muhsin Keloth 44fab70048
feat: Add support for grouped file uploads in Slack (#12454)
Fixes
https://linear.app/chatwoot/issue/CW-5646/add-support-for-grouped-file-uploads-in-slack

Previously, when sending multiple attachments to Slack, we uploaded them
one by one. For example, sending 5 images would result in 5 separate
Slack messages. This created clutter and a poor user experience, since
Slack displayed each file as an individual message.
This PR updates the implementation to group all attachments from a
message and send them as a single Slack message. As a result,
attachments now appear together in one grouped block, providing a much
cleaner and more intuitive experience for users.

**Before:** 
Each file uploaded as a separate Slack message.
<img width="400" height="800" alt="before"
src="https://github.com/user-attachments/assets/c8c7f666-549b-428f-bd19-c94e39ed2513"
/>

**After:** 
All files from a single message grouped and displayed together in one
Slack message (similar to how Slack natively handles grouped uploads).
<img width="400" height="800" alt="after"
src="https://github.com/user-attachments/assets/0b1f22d5-4d37-4b84-905a-15e742317e72"
/>

**Changes**

- Upgraded Slack file upload implementation to use the new multiple
attachments API available in slack-ruby-client `v2.7.0`.
- Updated attachment handling to upload all files from a message in a
single API call.
- Enabled proper attachment grouping in Slack, ensuring related files
are presented together.
2025-09-24 11:31:06 +05:30
..
captain feat: Generate SSO URL in Chatwoot, move Captain to primary tab (#9871) 2024-08-01 19:22:34 -07:00
dialogflow chore: Add region option to Dialogflow integration (#11510) 2025-06-05 20:01:17 -05:00
dyte feat: Upgrade Dyte apis to v2 (#10706) 2025-02-19 14:47:48 -08:00
facebook feat: Facebook delivery reports (#8136) 2023-11-20 12:22:45 +05:30
google_translate chore: Improve translation service with HTML and plain text support (#11305) 2025-04-16 17:59:06 +05:30
linear feat: Add user attribution to Linear integration with actor authorization (#11774) 2025-07-01 16:49:26 +05:30
openai feat: Improve reply suggestions using help center articles (#9026) 2024-03-03 20:25:19 -08:00
slack feat: Add support for grouped file uploads in Slack (#12454) 2025-09-24 11:31:06 +05:30
bot_processor_service.rb feat: Implement UI for Agent Bots in settings and remove CSML support (#11276) 2025-04-16 18:02:49 +05:30
openai_base_service.rb fix: handle empty string for CAPTAIN_OPEN_AI_ENDPOINT config (#12435) 2025-09-15 17:48:18 -07:00