Instagram
Posts a photo to one or more Instagram accounts when the notification event is triggered.

At least one account is required
Before posting, add at least one Instagram account via Settings → Instagram.
Config

Image Attachment
The image to publish. Required, Instagram cannot post without an image.
Attach an image using the {% setMedia %} tag. See examples below.
Requirements:
- JPEG format only. No PNGs, GIFs, WebP, etc.
- Max 8 MB filesize.
- Width between 320px - 1440px.
- Aspect ratio between 4:5 - 1.91:1.
- Must resolve to a publicly-accessible URL.
Caption
An optional caption, max 2200 characters. Longer text is truncated automatically.
Dynamic Message Fields
As noted in the screenshot above, all text fields can use templating and special variables.
Examples
Publish a photo which meets the requirements
twig
{% setMedia entry.photo.one() %}Specify an image asset by its ID
twig
{% setMedia asset.id %}Use a fixed publicly-accessible URL
twig
{% setMedia 'https://example.com/images/banner.jpg' %}