updated slack posting logic

This commit is contained in:
2026-03-20 08:39:41 +01:00
parent 6aa65ef076
commit 96a284295d
+2
View File
@@ -137,6 +137,8 @@ _All had valid tracking links._
Slack has a ~4000 character limit per message. If the full table exceeds 25 rows, you **must** split it into multiple messages to prevent the code block formatting from breaking. Don't send the message as json.
**Important — Slack message formatting:** Always send message text with **actual line breaks**, not `\n` escape characters. If you type `\n` literally in the input, the entire message will appear as one long line in Slack. Write the message across multiple lines in the input field itself
**Splitting logic:**
1. Calculate the number of parts needed: `ceil(total_rows / 25)`
2. Each message must be a **self-contained code block** (with its own opening and closing triple backticks)