Export daily Pendo report to Amazon S3
Recipe ToolsMarketingDeveloper ToolAPI Integration
What it does
When a scheduled interval triggers, this automation fetches the Pendo report via HTTP request and uploads it to Amazon S3. If the upload fails, it retries up to three times before sending an email alert.
Who it's for
Data and analytics teams who need daily Pendo reports archived in Amazon S3 without manual exports.
How teams use this
Archive daily Pendo reports automatically
Export the Pendo report each day and store it in Amazon S3 with a timestamped filename. The team has a complete archive without manual work.
Alert on export failures
When the HTTP request or upload fails three times, send an email so the team knows the daily export did not complete. This automation handles the retry logic and notification.
Add Slack notification for failed exports
Include a Slack message in addition to email when retries are exhausted, so the team gets alerted in their chat channel. The retry logic and Amazon S3 upload stay the same.
Export to multiple S3 buckets
Add a second upload step to send the Pendo report to a backup Amazon S3 bucket after the primary upload succeeds. The HTTP request and retry logic remain unchanged.
How it works
- Trigger on a specified interval. On a daily schedule, this automation wakes up and begins the export process to fetch and store the Pendo report.
- Send HTTP request for Pendo data. Send a request via HTTP to fetch the Pendo report with today's date formatted as PendoExport-YYYY-MM-DD.csv so the file has a consistent name.
- Upload file to Amazon S3 bucket. Upload the Pendo report file into the designated Amazon S3 bucket using the file contents from the HTTP response.
- Retry upload on failure. If the upload fails, retry all steps in the monitor block up to three times before proceeding to error notification.
- Send email alert if error persists. Send an email notification when the upload fails after all retries so someone can investigate the issue.