Develofly Autopilot
Templates › AI-Powered (AI tier) › AI support-ticket drafter

AI support-ticket drafter

Draft first replies to new support tickets, for approval.

AI-Powered (AI tier)Needs a plan with AI includedEvery hour

Download the app, freeOpen in Autopilot

AI support-ticket drafter: what it does, step by step, with its sample data

What it does

Drafts a first-response reply for each new ticket in your queue and leaves it for a person to approve: from Zendesk or Freshdesk (API token) the draft can be added as a private internal note on the ticket, ready to edit and send; from your own sheet (columns: ticket_id, subject, message, customer) the drafts are listed in the results. Tickets drafted in an earlier run are skipped. Nothing is ever sent to customers. Needs a plan with AI included.

How it works

  1. Decides what to do next
  2. Calls the service's API
  3. Goes through each item
  4. Asks AI
  5. Adds rows to your sheet
All 25 steps (as they appear in the app)
  1. If source equals Zendesk
  2. _auth = {{helpdesk_email}}/token:{{helpdesk_token}}
  3. GET {{helpdesk_url}}/api/v2/search.json?query={{zendesk_query:url}}&sort_by=created_at
  4. If source equals Freshdesk
  5. _auth = {{helpdesk_token}}:X
  6. GET {{helpdesk_url}}/api/v2/tickets?filter=new_and_my_open&include=description&per_page=50
  7. If source equals My sheet
  8. _tickets = [{"id": {{ticket_id:json}}, "subject": {{subject:json}}, "description": {{message:json}}, "customer": {{customer:json}}}]
  9. For each t in {{_tickets}} (4 steps)
  10. _text = {{t_description_text}}
  11. If _text empty
  12. _text = {{t_description:text}}
  13. _tkey = {{source}}|{{t_id}}
  14. If _tkey seen in past runs
  15. Ask AI → draft_reply, category, priority, confidence
  16. _posted = no
  17. If post_as_note equals yes
  18. If source equals Zendesk
  19. PUT {{helpdesk_url}}/api/v2/tickets/{{t_id}}.json
  20. _posted = yes
  21. If source equals Freshdesk
  22. POST {{helpdesk_url}}/api/v2/tickets/{{t_id}}/notes
  23. _posted = yes
  24. Add row: ticket, subject, draft_reply, category, priority, confidence, private_note_added
  25. tickets_seen = {{t_count|0}}

Sample data included

The template comes with sample rows like these, so you can see it work before using your own list.

ticket_idsubjectcustomermessage
1001Charged twice[email protected]Hi, I see two charges for my March subscription.

Get this template

1. Download Develofly Autopilot: free, for Ubuntu and other Linux desktops.

Download Develofly Autopilot

2. The app comes with every template, so this one is already in your library. Click below to open it (or find it under Templates).

Open in Autopilot

What you need

  • AI: a plan with AI included, or your own AI key
  • A spreadsheet (CSV or Excel) — a sample is included

You fill in: Tickets from, Help desk address, Zendesk agent email, API token, Zendesk tickets to draft, Add each draft as a private note on the ticket, Company name, Facts and policies the AI may use, Tone, Signature, Most tickets per run.

Make it yours

Every step is editable in the app: change the site, the columns, the schedule, or chain it with other bots. Run it once, on a schedule, or sell it as your own bot.

More AI-Powered (AI tier) templates

AI data categorizerTag / classify a messy text column in a sheet.AI image-to-listingA product screenshot → listing title + description.AI meeting-notes summarizerA transcript or doc → summary + action items in a sheet.AI review responderDraft replies to customer reviews and queue them for approval.