ActionUnsplashUpdated September 2026
How do I fetch a random Unsplash photo?
Short answer: You can get random photo in Unsplash by hand from its own interface, but it won’t repeat itself. On TinyCommand, add the Unsplash Get Random Photo action to a workflow, map its 2 inputs from any upstream app, and it runs automatically every time the trigger fires. No code, and a free tier to start.
Inputs
The fields this action accepts.
Every field can be mapped from an upstream trigger, AI step, table row, or hard-coded literal.
| Field | Type | Required | Description |
|---|---|---|---|
Topic/Query query | string | Optional | Topic/Query. e.g. "nature" |
Orientation orientation | options | Optional | Orientation. Options: Any, Landscape, Portrait |
Sample request
{"query": "nature","orientation": "{{trigger.orientation}}"}
Returns
{"id": "xyz789","urls": {"full": "https://images.unsplash.com/...","regular": "https://images.unsplash.com/..."},"user": {"name": "Photographer"},"downloads": 5000,"description": "Forest landscape"}
Use these fields in downstream nodes for routing, logging, or error handling.
Triggered by
Apps that pair well as the trigger for Get Random Photo.
Any of these apps can fire this action as part of a workflow.
FAQ
Questions about Get Random Photo.
What does the Get Random Photo action do in Unsplash?
Returns a random free high-resolution photo from Unsplash, optionally filtered by query or collection. Great for placeholder imagery, AI-generated post hero images, or "photo of the day" features.
What inputs does Get Random Photo require?
Get Random Photo has no required inputs. Sensible defaults are applied if you leave fields blank.
Can I use dynamic inputs from earlier workflow nodes?
Yes. Any field on this action can pull values from upstream nodes, whether that's a form response, a trigger payload, an AI output, or a lookup result.
What happens if Unsplash returns an error?
The run history shows the failed step with its input and the error message Unsplash returned, so you can fix the input and run the workflow again. Automatic retries are built into HTTP steps only, where you can also set your own retry count and delay.
Does Get Random Photo support batch operations?
Run Get Random Photo inside a loop to process each item in an array. TinyCommand does not throttle calls for you, so for large arrays add a Delay step if you need to stay within Unsplash's rate limits.
More actions