SOCIAL MEDIA

DM auto-responder with toxicity escalation to support

Inbound social DMs are toxicity-scored on arrival; hostile messages skip the bot and open a Zendesk ticket, while normal DMs get a screened AI reply auto-sent.

CategorySocial Media
Enginesim
Difficultyintermediate
Triggerwebhook
Steps7
Setup~15 min

How it runs

The automated pipeline, trigger to output.

  • TriggerInbound DM receivedHTTP webhook
  • ActionScore incoming DM toxicity (HuggingFace)Hugging FaceHugging Face
  • LogicIs the message hostile?
  • ActionOpen Zendesk ticket for human handlingZendeskZendesk
  • ActionDraft reply for non-hostile DM (OpenAI)OpenAI
  • ActionRe-screen draft reply (HuggingFace)Hugging FaceHugging Face
  • OutputSend screened reply to userSocial publishing

What it does

This workflow triages inbound direct messages before the bot ever answers. Each incoming DM is scored for toxicity. Hostile or abusive messages are pulled out of the automation entirely and handed to a human as a Zendesk ticket so a person handles the conflict. Everything else gets an AI-drafted reply that is itself screened before it is sent back to the user.

When to use it

Use it when you automate DM responses but want abusive or volatile conversations to land with a trained support agent instead of a bot, and you never want the bot's own reply to escalate a tense thread.

How it works

  1. 1A new inbound DM arrives via webhook.
  2. 2HuggingFace scores the incoming message for toxicity.
  3. 3A logic step checks whether the message is hostile.
  4. 4If hostile, a Zendesk ticket is opened with the message and the bot stays silent.
  5. 5If not, OpenAI drafts a reply.
  6. 6HuggingFace re-screens the draft so the bot's response stays clean.
  7. 7The screened reply is sent back to the user on the platform.

Set it up

What you configure once, before turning it on.

  1. 1
    Connect HTTP webhookTrigger any URL on agent actions.
  2. 2
    Connect Hugging FaceModels, datasets, spaces — the open-source hub.
  3. 3
    Connect ZendeskTickets, queues, knowledge base.
  4. 4
    Connect OpenAIModels, embeddings, files.
  5. 5
    Connect Social publishingCross-post to X, LinkedIn, Instagram, TikTok, and 4 more in one call.
  6. 6
    Set each agent's modelWe leave models unset so you pick the tier — fast + cheap, or top-quality.
  7. 7
    Tune it to your dataEdit the prompts, filters, and field mappings so it matches how your team works.
  8. 8
    Test, then turn it onRun once against a sample, confirm the output, then enable the trigger.

Run this workflow in your colony.

14-day trial. No DevOps. No Sales call. Provisioned in under a minute.