Sync Freshdesk tickets to Slack on schedule

Recipe ToolsBotsArtificial Intelligence

What it does

When a scheduled interval arrives, this automation retrieves Slack channel messages and identifies those linked to Freshdesk tickets. It collects matching messages and attachments so the team can track ticket activity in Slack.

Who it's for

Customer support teams who monitor Freshdesk tickets through Slack conversations.

How teams use this

Track ticket updates in Slack daily

Run this automation each morning to gather all Freshdesk ticket messages posted in the support channel overnight. The team sees a complete record without switching between tools.

Monitor tickets across multiple channels

Extend this automation to search additional Slack channels beyond gainsight_support so ticket activity is captured wherever the team discusses it. Add channel names to the condition to include more conversations.

Archive ticket messages weekly

Run on a weekly schedule instead of daily to reduce noise and collect a larger batch of ticket messages at once. Only the interval timing changes for the team's workflow.

How it works

  1. Run on a scheduled interval. At the specified time, this automation starts and retrieves the current list of Slack channels to search for ticket-related messages.
  2. Find the support channel. Loop through each Slack channel and identify the gainsight_support channel where ticket messages are posted.
  3. Retrieve message history. Get the message history from the support channel so the automation can check which messages link to Freshdesk tickets.
  4. Match messages to tickets. For each message, check if the title link matches a Freshdesk ticket. Collect matching messages and their attachments for the team to review.