# Zapier Integration

Connect TwitterShots with content create apps using Zapier's automation platform.

![Zapier TwitterShots integration](/twitter-screenshot-zapier-integration.webp "Zapier TwitterShots Integration")

[🔗 TwitterShots Integrations on Zapier](https://zapier.com/apps/twittershots/integrations "TwitterShots Integrations on Zapier")

## Use Cases

![automation twitter screenshot and connect TwitterShots Zapier](/automation-twitter-screenshot-and-connect-TwitterShots-to-8000-zapier-apps.webp "automation twitter screenshot and connect TwitterShots Zapier")

### Automate Content Creation

Turn tweets into shareable images instantly. Automatically generate beautiful screenshots when you post a new tweet, making it easy to repurpose content across Instagram, LinkedIn, and other platforms.

### Monitor Activity

Keep track of important tweets or website changes automatically. Set up triggers to capture screenshots of tweets from specific accounts or hashtags you're monitoring.

### Streamline Workflows

Save screenshots directly to your preferred storage or communication tools. Send generated images to Google Drive, Dropbox, Slack, or any of Zapier's 7,000+ supported apps.

## Features

- Simple no-code automation setup
- Multiple output formats (SVG, PNG, HTML)
- Light/dark theme support
- Customizable logo options (X, bluebird, or none)
- Configurable display options (full text, timestamp, view count, statistics)
- Connect with 7,000+ apps in Zapier's ecosystem

## Tweet Screenshot Actions

TwitterShots provides screenshot actions in Zapier:

- Create twitter screenshot: pass your Tweet URL or X Post Id, create a tweet screenshot file instantly.

![search twittershots app on zapier action](/search-twittershots-on-zapier.webp "search twittershots on zapier action")

## Getting Started

### Step 1: Create a new Zap

Log in to your Zapier account and click "Create Zap" to start building your automation workflow.

### Step 2: Set up your trigger app

Choose a trigger app that will start your workflow. For example:

- **X (Twitter)**: Trigger when you post a new tweet
- **RSS**: Trigger when a new item appears in a feed
- **Schedule**: Trigger at specific times

### Step 3: Add TwitterShots action

1. Add a new action step and search for "**TwitterShots**"
2. Connect your TwitterShots account using your API key
3. Get your API key from [settings/keys "set api key in account"](/settings/keys "get tweet sreenshot api on twittershots")
4. Choose the action: "**Create Twitter screenshot**"

![search twittershots app on zapier and turn tweet to image for instagram](/post-tweet-screenshot-to-instagram-after-typefully-draft-published.webp "post tweet screenshot to instagram after typefully draft published")

### Step 4: Configure the action

Set up your screenshot preferences:

- **Tweet ID** — The tweet status ID or full URL, e.g., 2010458942296760556
- **Theme** — Color theme: light or dark
- **Format** — Output format: svg (recommended), png
- **Logo** — Logo style: x, bluebird, or none
- **Response Type** — Return type: buffer (recommended) or url
- **Show Full Text** — Display complete tweet text: true / false
- **Show Timestamp** — Display tweet timestamp: true / false
- **Show Views** — Display view count: true / false
- **Show Stats** — Display engagement stats: true / false
- **Container Background** (optional) — Container background color  
  - Default: Matches tweet area background color (#ffffff for light theme, #000000 for dark theme)
  - Custom: Supports multiple color formats:  
    - Hex colors: #2E3748, #f0f0f0, #2563eb
    - RGBA colors: rgba(255, 0, 0, 0.5), rgba(0, 0, 0, 0.8)
    - Linear gradients: linear-gradient(90deg, #003f5b, #2b4b7d, #5f5195, #98509d, #cc4c91, #f25375, #ff6f4e, #ff9913)
- **Background Image** (optional) — Background image URL for the screenshot  
  - Default: No background image
  - Custom: HTTPS URL to an image file
  - Recommended: Use HTTPS URLs for better security and compatibility
- **Container Padding** (optional) — Container padding value  
  - Default: 16 (16px padding)
  - Custom: Any numeric value in pixels
- **Border Radius** (optional) — Border radius value  
  - Default: 16 (16px border radius)
  - Custom: Any numeric value in pixels

### Step 5: Map your data

Map data from your trigger to the TwitterShots action. For example, if your trigger is a new tweet, map the tweet ID to the Tweet ID field.

### Step 6: Test and activate

1. Test your Zap to ensure everything works correctly
2. Review the generated screenshot
3. Turn on your Zap to start automating!

## Example Workflows

### 1\. Tweet → Instagram Post

1. **Trigger**: New tweet posted on X or Typefull Draft published
2. **Action 1**: TwitterShots - Create screenshot with Instagram-optimized settings: 4:5 aspect ratio or 9:16
3. **Action 2**: Instagram for Business - Schedule Instagram post with the screenshot

!["turn tweet to instagram post zapier"](/turn-tweet-to-instagram-zapier.webp "turn tweet to instagram post zapier")

### 2\. Tweet Screenshot Bot → Discord

1. **Trigger**: New tweet url from a Discord channel
2. **Action 1**: TwitterShots - Generate screenshot
3. **Action 2**: Discord - Send screenshot to channel

!["turn tweet to image discord bot"](/twitter-screenshot-discord-bot.webp "turn tweet to image discord bot")

you can try in @TwitterShots Discord channel here: [twittershots bot channel](https://discord.gg/WjQDxYvG)

!["screenshot twitter discord bot"](/screenshot-twitter-discord-bot.webp "screenshot twitter discord bot")

### Daily Digest → Google Drive

1. **Trigger**: Schedule (daily)
2. **Action 1**: X - Search tweets with specific hashtag
3. **Action 2**: TwitterShots - Generate screenshots
4. **Action 3**: Google Drive - Save to folder

## API Configuration

For advanced users who need direct API access:

```json
{
  "endpoint": "https://api.twittershots.com/api/v1/screenshot/{tweetId}",
  "method": "GET",
  "headers": {
    "X-API-KEY": "YOUR_API_KEY"
  },
  "queryParameters": {
    "theme": "light",
    "format": "svg",
    "logo": "x",
    "showFullText": "true",
    "showTimestamp": "true",
    "showViews": "true",
    "showStats": "true",
    "containerBackground": "#ffffff",
    "backgroundImage": "https://images.unsplash.com/photo-1604079628040-94301bb21b91?q=80&w=987&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D",
    "containerPadding": 16,
    "borderRadius": 16
  }
}

```

## Tips & Best Practices

1. **Use SVG format** for the highest quality screenshots that scale perfectly
2. **Use buffer response type** when you need to directly attach images to other apps
3. **Test with different themes** to match your brand aesthetics
4. **Set up error handling** in Zapier to catch any failed screenshot generations

## Additional Resources

- [View TwitterShots on Zapier](https://zapier.com/apps/twittershots/integrations)
- [TwitterShots API Documentation](/docs/api)
- [Get your API Key](/settings/keys)
- [Zapier Help Center](https://help.zapier.com/)