Explore Plans
Mobile menu Close menu
X (Twitter)

New photo or video by you

This trigger fires every time you post a tweet that includes a photo, video, or GIF.

Developer info

API endpoint slug
twitter.new_media_by_you

Trigger fields

Media type Dropdown list

Label
Which media should fire this trigger?
Helper text
Choose which posts fire this Trigger.
Slug
media_type
Required
true
Can have default value
true

Ingredients

Text Text.

Slug
text
Filter code
Twitter.newMediaByYou.Text
Type
String
Example
Sunset from the pier tonight

Media url Media URL.

Slug
media_url
Filter code
Twitter.newMediaByYou.MediaUrl
Type
File URL
Example
https://pbs.twimg.com/media/example.jpg

Media preview url Media preview image URL.

Slug
media_preview_url
Filter code
Twitter.newMediaByYou.MediaPreviewUrl
Type
Image URL
Example
https://pbs.twimg.com/media/example.jpg

Media type Media type.

Slug
media_type
Filter code
Twitter.newMediaByYou.MediaType
Type
String
Example
photo

Media count Media count. Numeric value as a string.

Slug
media_count
Filter code
Twitter.newMediaByYou.MediaCount
Type
String
Example
2

Alt text Alt text the author wrote for the first image. Empty when none.

Slug
alt_text
Filter code
Twitter.newMediaByYou.AltText
Type
String
Example
A pier at sunset with orange clouds

User name Username.

Slug
user_name
Filter code
Twitter.newMediaByYou.UserName
Type
String
Example
biffmcifttt

Link to tweet Link to tweet.

Slug
link_to_tweet
Filter code
Twitter.newMediaByYou.LinkToTweet
Type
Web URL
Example
https://x.com/biffmcifttt/status/1234567890

Created at Created at.

Slug
created_at
Filter code
Twitter.newMediaByYou.CreatedAt
Type
Date with time (ISO8601)
Example
2020-07-08T04:17:06+05:00