Promptles
Output Format

Describe the Destination

Describe where data lands and what shape it needs.

When moving data between systems, describe both the source and the destination: including the expected format at the receiving end. A script that reads from a CRM and writes to a spreadsheet needs to know the spreadsheet's column order, header names, and data types. Mismatched formats are the top cause of broken integrations, and Claude can prevent them if you describe both sides.

Where you'll practice this

2 Promptles scenarios teach this principle directly. Each one drops you into a real engineering ticket and asks you to write the prompt you'd send to Claude Code.

  • The CRM Sync

    You want a Python script called `sync_contacts.py` that syncs contacts from HubSpot to a Google Sheet every night. The HubSpot API returns contacts in pages of 100 with a `paging.next.after` cursor. You need to fetch all contacts and write them to a Google Sheet with columns:…

  • The Format Converter

    You receive weekly inventory reports as Excel files. The file `inventory.xlsx` has a sheet called 'Current Stock' with columns using internal codes: `SKU_CD` (product SKU), `QTY_OH` (quantity on hand, integer, sometimes null), `UNIT_$` (unit price, decimal), and `WH_LOC`…

Other principles in Output Format