Flip Image in n8n
What this node does
PDF4me - Flip Image mirrors an image horizontally, vertically, or in both directions and returns the result as binary data inside your n8n workflow. Supply the source image as binary data from a prior node, a Base64-encoded string, or a public URL. The flipped output is immediately available to route into cloud storage, email, a database, or any further image-processing step - no manual editing, no external tools.
Authenticating Your API Request
Every PDF4me node in n8n requires valid Credentials. Create or select credentials that hold your PDF4me API key so the node can authenticate image processing requests securely.
Important Facts You Should Not Miss
result.png, downstream nodes may see a MIME type mismatch. Match the extension to the actual image format for clean handoff to storage or email nodes.
Set Input Data Type, map the image source, set Output File Name with the correct extension, and choose Orientation Type before running the workflow.
Parameters
Required: Input Data Type, the image field that matches that type (Input Binary Field, Base64 Image Content, or Image URL), Output File Name, Orientation Type, and Binary Data Output Name. Async is optional.
| Parameter | Required | What it does | Example |
|---|---|---|---|
| Input Data Type | Yes | Format of the source image. Choose Binary Data to map from a prior node, Base64 String to supply encoded image data, or URL to point to a publicly accessible image file. | Binary Data |
| Input Binary Field | Yes (Binary Data) | The binary property name from the prior node that holds the image. Use the n8n expression to reference it. | {{$binary.data}} |
| Base64 Image Content | Yes (Base64) | Base64-encoded string of the image to flip. JPEG, PNG, GIF, and BMP all accepted. | /9j/4AAQSkZJRgA... |
| Image URL | Yes (URL) | Publicly accessible URL to the source image. PDF4me downloads and flips the image from this address. | https://example.com/photo.jpg |
| Output File Name | Yes | Filename for the returned flipped image, including extension. Must match the actual image format to avoid MIME mismatches in downstream nodes. | flipped_image.jpg |
| Orientation Type | Yes | Direction to flip the image. Horizontal mirrors left-to-right. Vertical mirrors top-to-bottom. Horizontal and Vertical applies both simultaneously. | Horizontal |
| Async | No | When true, the operation runs asynchronously and returns immediately without waiting for the result. Useful for large images in batch workflows. | false |
| Binary Data Output Name | Yes | Key name under which the flipped image binary is stored in the n8n output. Downstream nodes reference the image by this name. | data |
Quick Setup
- Add a PDF4me node to your n8n workflow and select Flip Image as the action.
- Choose or create Credentials with your PDF4me API key.
- Set Input Data Type and fill the matching field - Binary Data, Base64 Image Content, or Image URL.
- Enter Output File Name with the correct extension.
- Choose Orientation Type - Horizontal, Vertical, or Horizontal and Vertical.
- Set Binary Data Output Name (default:
data) and click Execute Node. The flipped image is ready in the output binary.
Workflow Examples
Workflow ExamplesCommon n8n workflow patterns using Flip Image.
- An HTTP Request node fetches product image URLs from a PIM system API.
- A Split In Batches node processes each image URL individually.
- Flip Image runs with Input Data Type set to URL, Orientation Type set to Horizontal, creating a left-right mirror of each product photo.
- Google Drive uploads each flipped image to a "Mirrored Assets" folder named by product SKU.
- Dropbox Watch Folder triggers when a scanned image arrives in an intake folder.
- Flip Image runs with Orientation Type set to Vertical to correct the upside-down orientation from the scanner.
- The corrected image is uploaded to the "Processed Scans" folder.
- A Slack notification confirms the corrected image is ready for the document team.
- Airtable triggers when a new image record is added to a content calendar base.
- HTTP Request downloads the original image from the Airtable attachment URL.
- Flip Image creates a horizontally mirrored version for the "after" frame of a side-by-side comparison post.
- Both images are uploaded to S3 and the Airtable record is updated with the mirrored asset URL.