Back to OneDesk in Excel
SheetXAI logo
OneDesk logo
OneDesk · Excel Guide

Fetch OneDesk Ticket Details Into a Excel workbook

2026-05-14
5 min read

The Scenario

The SLA review is on Friday. Your support team lead handed you a column of 80 OneDesk ticket IDs collected from customer email threads over the past quarter. They live in column A of an Excel workbook. Columns B through E are blank — that's where the title, status, priority, and creation date should go.

You have until Thursday afternoon to populate the workbook, review the data, and flag anything that's already past its SLA window.

You have done this before. Last quarter, someone did it by exporting a CSV from OneDesk, doing a VLOOKUP against the ID column, discovering the CSV had a different ID format than the workbook, spending 40 minutes cleaning the join key, and still missing 12 tickets that had been archived. The report went to the director with a footnote explaining the gap.

That footnote is not happening this quarter.

The bad version:

  • Open OneDesk and search for each ticket ID one at a time
  • Copy the title, status, priority, and creation date from each ticket page into the corresponding row
  • For any ID that returns a 404 or a permissions error, note it separately and decide later whether to escalate

Eighty tickets. Four fields each. One open browser tab and one open workbook. The switching alone would take an hour before you touched any actual analysis.

The Easy Way: One Prompt in SheetXAI

SheetXAI is an AI agent that lives inside your Excel workbook. It reads the ticket IDs in column A, looks each one up in OneDesk, and populates the adjacent columns in one pass.

For each ticket ID in column A, fetch the OneDesk ticket details and write the title into column B, status into column C, priority into column D, and creation date into column E. If any ID returns not found or an error, write that in column B and leave the other columns blank.

Eighty lookups. One prompt. IDs that fail come back labeled so you know exactly which ones to review separately.

What You Get

  • Title, status, priority, and creation date populated for each ticket ID in column A
  • Any ID that returns an error flagged in column B rather than silently skipped
  • The workbook ready for SLA analysis without a second pass to reconcile missing rows

What If the Data Is Not Quite Ready

Some IDs have a prefix that needs to be stripped

Your column A has entries like "TKT-1042" but OneDesk expects just "1042".

For each ticket ID in column A, strip any alphabetic prefix and hyphens before looking up the ticket in OneDesk. Write the title into column B, status into column C, priority into column D, and creation date into column E. Flag lookup failures in column B.

You also need days-since-creation for SLA math

The review requires knowing how many days each ticket has been open, not just the raw creation date.

For each ticket ID in column A, fetch the OneDesk ticket title, status, priority, and creation date. Write them into columns B through E. Also calculate how many days ago the ticket was created (using today's date) and write that into column F. Flag any IDs that return errors in column B.

Some tickets were moved to a different project and might not be visible

A subset of the IDs came from a legacy project that was archived. You need to know which ones are returning valid data and which are returning access errors.

Look up each ticket ID in column A using OneDesk. Write title, status, priority, and creation date into columns B through E. In column F, write "found", "not found", or "access denied" based on the API response so I can separate the categories after.

Full SLA prep in one shot

Prefix cleanup, days-open calculation, error classification, and a summary of how many tickets are past 30 days — all in one prompt.

For each ticket ID in column A, strip any alphabetic prefix and hyphens. Fetch title, status, priority, and creation date from OneDesk. Write them into columns B through E. Calculate days since creation and write into column F. Write "found", "not found", or "error" into column G. After processing all rows, add a note at the top of the workbook showing total found, not found, error, and how many open tickets have been open more than 30 days.

The pattern: data normalization, enrichment, and summary analysis in a single ask.

Try It

Get the 7-day free trial of SheetXAI and open the ticket ID list sitting in your SLA review workbook — ask it to populate the detail columns and flag any lookup failures before your next director sync. Also worth reading: how to flag overdue tickets using live OneDesk due dates, and the hub overview of all four methods for connecting OneDesk to Excel.

Stop memorizing formulas.
Tell your spreadsheet what to do.

Join 4,000+ professionals saving hours every week with SheetXAI.

Learn more