Query SAP OData endpoints in plain English. Operations teams use this to automate data retrieval. Connects to SAP systems, logs securely, and handles errors gracefully.
git clone https://github.com/one-kash/sap-odata-explorer.gitThe SAP OData Explorer skill enables teams to query SAP OData endpoints using natural language commands. Built for operations teams, it automates data retrieval from SAP systems while maintaining secure logging and graceful error handling. This skill bridges the gap between plain English requests and complex SAP API calls, reducing manual integration work.
["Prepare your SAP OData credentials: Ensure you have the [SAP_ODATA_URL], [USERNAME], and [PASSWORD] for the endpoint you want to query. Test access in a browser or Postman first.","Customize the prompt: Replace [ENTITY_SET_NAME] with the SAP entity (e.g., `A_SalesOrder`), [FILTER_CONDITIONS] with your specific filters (e.g., `Status eq 'Open'`), and [COLUMN_NAMES] with the fields you need (e.g., `SalesOrderID,CustomerName,OrderDate,Status,TotalAmount`).","Run the query: Paste the customized prompt into your AI assistant (e.g., Claude or ChatGPT) and execute it. The AI will generate the OData query and return structured results.","Validate and refine: Review the results for accuracy. If errors occur (e.g., authentication failures), double-check credentials or endpoint URLs. Adjust filters to narrow down results if needed.","Integrate with Sortd: Copy the results table and paste it into Sortd for Gmail to create a kanban board for follow-up tasks. Use Sortd’s templates (e.g., 'Sales Orders') to organize the data into columns like 'To Follow Up,' 'In Progress,' and 'Completed.'"]
Retrieve customer master data from SAP without writing API queries
Automate daily inventory status reports by querying OData endpoints
Fetch sales order details in real time for operational dashboards
Extract financial transaction records for audit and compliance workflows
No install command available. Check the GitHub repository for manual installation instructions.
git clone https://github.com/one-kash/sap-odata-explorerCopy the install command above and run it in your terminal.
Launch Claude Code, Cursor, or your preferred AI coding agent.
Use the prompt template or examples below to test the skill.
Adapt the skill to your specific use case and workflow.
Query the SAP OData endpoint at [SAP_ODATA_URL] using the credentials [USERNAME] and [PASSWORD]. Retrieve all records from the [ENTITY_SET_NAME] entity where [FILTER_CONDITIONS] (e.g., 'Status eq "Open" and CreatedDate gt 2023-01-01'). Format the results as a structured table with columns: [COLUMN_NAMES]. Include a summary of the total records retrieved and any warnings or errors encountered during the query.
### SAP OData Query Results: Sales Orders (Open Status) **Endpoint:** `https://sap-prod.company.com/sap/opu/odata/sap/API_SALES_ORDER_SRV/` **Entity Set:** `A_SalesOrder` **Filter:** `Status eq 'Open' and CreatedDate gt '2023-01-01'` **Retrieved:** 247 records (as of 2023-11-15 09:42:00 UTC) | Sales Order ID | Customer Name | Order Date | Status | Total Amount | Sales Rep | |----------------|------------------------|-------------|--------|--------------|----------------| | 4711-001 | Acme Corporation | 2023-10-15 | Open | $12,500.00 | John Doe | | 4711-002 | Globex Industries | 2023-10-18 | Open | $8,200.00 | Jane Smith | | 4712-003 | Initech | 2023-11-01 | Open | $15,300.00 | Mike Johnson | | ... | ... | ... | ... | ... | ... | **Summary:** - **Total Records:** 247 (filtered from 1,243 total orders) - **Top 3 Customers by Order Value:** Acme Corporation ($12,500), Initech ($15,300), Globex Industries ($8,200) - **Sales Rep Performance:** John Doe (52 orders), Jane Smith (38 orders), Mike Johnson (45 orders) **Warnings:** - 3 orders have missing customer names (IDs: 4711-005, 4712-008, 4713-012). Recommend updating customer master data. - 1 order (ID: 4711-009) has a status inconsistency (marked 'Open' but last updated 2023-09-30). Suggest reviewing with the sales team. **Error Log:** - No errors encountered during query execution. All records retrieved successfully. --- *Query executed via SAP OData Explorer. For follow-up actions, consider: 1. Exporting this data to Sortd for Gmail to track follow-ups (e.g., using the 'Sales Orders' template). 2. Setting up automated alerts for orders older than 30 days in 'Open' status.*
Take a free 3-minute scan and get personalized AI skill recommendations.
Take free scan