Explore Plans
Mobile menu Close menu
SharprSharpr

Create post from file

This Action will create a new post with a file attachment.

Developer info

API endpoint slug
sharpr.create_post_from_file
Filter code method
Sharpr.createPostFromFile.skip(string?: reason)
Runtime method
runAction("sharpr.create_post_from_file", {})

Action fields

Hub Dropdown list

Label
Which hub?
Slug
hub
Required
true
Can have default value
false

File Text input > File

Label
What is the file URL?
Slug
file
Required
true
Can have default value
true
Filter code method
Sharpr.createPostFromFile.setFile(string: file)

Headline Text input > Title

Label
What is the headline?
Slug
headline
Required
true
Can have default value
true
Filter code method
Sharpr.createPostFromFile.setHeadline(string: headline)

Tag with Text input > Tags

Label
Which tags?
Slug
tag_with
Required
true
Can have default value
true
Filter code method
Sharpr.createPostFromFile.setTagWith(string: tagWith)

Category Text input > Path to a folder

Label
How to categorize?
Helper text
(Optional) The name of a category in your Sharpr hub
Slug
category
Required
false
Can have default value
true
Filter code method
Sharpr.createPostFromFile.setCategory(string: category)

Classification Text input > Path to a folder

Label
Which classification?
Helper text
(Optional) The name of a classification in your Sharpr hub
Slug
classification
Required
false
Can have default value
true
Filter code method
Sharpr.createPostFromFile.setClassification(string: classification)