Actions2
Download & Parse
AI-generatedOverview
This node downloads and parses Apple App Store sales reports based on user-specified parameters such as frequency (daily or monthly), vendor number, and report date. It authenticates with the Apple App Store API using credentials, fetches the sales report in a compressed format, decompresses it, and then either outputs the raw file or parses the tab-separated values into JSON objects. This node is useful for automating the retrieval and processing of sales data for analysis or reporting purposes.
Use Case Examples
- A mobile app developer automates monthly sales data retrieval to analyze revenue trends.
- A financial analyst downloads daily sales reports to monitor app performance and generate reports.
Properties
| Name | Meaning |
|---|---|
| Frequency | Specifies the report frequency, either daily or monthly sales report. |
| Vendor Number | The vendor number associated with the Apple App Store account, required to identify the sales data. |
| Report Date (YYYY-MM-DD) | The date of the report to download, formatted as YYYY-MM-DD. |
| Options | Additional options for the node execution, including the field name to store the parsed report data. |
Output
Binary
Contains the raw sales report file in TSV format when the operation is set to download only.
JSON
- Parsed sales report data as an array of JSON objects, where each object represents a row with column headers as keys.
Dependencies
- Apple App Store API credentials with private key, issuer ID, and key ID for JWT authentication.
Troubleshooting
- Ensure the Apple App Store API credentials are correctly configured and valid to avoid authentication errors.
- Verify the report date and vendor number are correct and correspond to available reports to prevent API errors.
- If the node fails to decompress or parse the report, check that the response is a valid compressed TSV file.
Links
- Apple App Store Connect API - Download Sales and Trends Reports - Official documentation for downloading sales and trends reports from Apple App Store Connect API.