Zapier
Use Zapier’s Webhooks to connect Spectra.fm with 5,000+ apps and automate your screenshot workflow.
1. Create a New Zap
Section titled “1. Create a New Zap”In Zapier, create a new Zap with your preferred trigger app.
2. Add Webhooks Action
Section titled “2. Add Webhooks Action”Search for Webhooks by Zapier and select Custom Request.
3. Configure the Request
Section titled “3. Configure the Request”| Setting | Value |
|---|---|
| Method | POST |
| URL | https://api.spectra.fm/project/YOUR_PROJECT_ID/export |
4. Add Headers
Section titled “4. Add Headers”| Key | Value |
|---|---|
X-API-Key | Your Spectra.fm API key |
Content-Type | application/json |
5. Set Data
Section titled “5. Set Data”Choose Raw and enter:
{ "combinations": [ {"locale": "en", "theme": "light"}, {"locale": "en", "theme": "dark"} ]}Example Zaps
Section titled “Example Zaps”New Trello Card → Generate Screenshots
Section titled “New Trello Card → Generate Screenshots”- Trigger: Trello - New Card in List
- Action: Webhooks - POST to Spectra.fm
- Action: Slack - Send Channel Message
New Shopify Product → Generate Marketing Assets
Section titled “New Shopify Product → Generate Marketing Assets”- Trigger: Shopify - New Product
- Action: Webhooks - POST to Spectra.fm
- Action: Email - Send notification
Weekly Schedule → Export Screenshots
Section titled “Weekly Schedule → Export Screenshots”- Trigger: Schedule - Every Week
- Action: Webhooks - POST to Spectra.fm
- Action: Google Drive - Upload File
New GitHub Release → Generate App Store Screenshots
Section titled “New GitHub Release → Generate App Store Screenshots”- Trigger: GitHub - New Release
- Action: Webhooks - POST to Spectra.fm
- Action: Slack - Send notification to #releases
Using Dynamic Data
Section titled “Using Dynamic Data”Reference data from your trigger using Zapier’s field mapping:
URL:
https://api.spectra.fm/project/{{project_id}}/exportData:
{ "combinations": [ {"locale": "{{locale}}", "theme": "{{theme}}"} ]}Next Steps
Section titled “Next Steps”- View the full API documentation
- Get your API key at app.spectra.fm/settings/api-keys