Push File

pushbullet.push_file
ActionChat & messagingconnection required

Calls the Pushbullet API with the connection's credentials.

Push a file that has already been uploaded, using the three values pushbullet.upload_request returned.

Connection

Required
Yes — the node will not save without one
Auth type
API key
Providers
Pushbullet
Secret shape
the access token, or {"access_token": "…"}
Config it needs
device_iden
Resolved by
config.connection_id, else node.connection_id

Configuration

8 fields, 3 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.

FieldTypeRequiredDefaultConstraintsExample
file_name
File name Pushbullet returned from the upload request.
stringYes——cat.jpg
file_type
MIME type Pushbullet returned from the upload request.
stringYes——image/jpeg
file_url
Download URL Pushbullet returned from the upload request; the bytes must already have been posted to its upload_url.
stringYes—url format—
body
Message shown with the file.
stringNo———
device_iden
Send only to this device; overrides the default device on the connection. pushbullet.list_devices returns the ids.
stringNo——ujpah72o0sjAoRtnM0jc
email
Send to this email address; the recipient gets a push if they have a Pushbullet account, otherwise an email.
stringNo—email format—
channel_tag
Send to every subscriber of this channel; you must own the channel.
stringNo——elonmusknews
client_iden
Send to every user who granted access to this OAuth client; you must own it.
stringNo———

Example configuration

Every value below is the contract’s own example or default — nothing invented.

{
  "channel_tag": "elonmusknews",
  "device_iden": "ujpah72o0sjAoRtnM0jc",
  "file_name": "cat.jpg",
  "file_type": "image/jpeg"
}

Output

One shape.

result

FieldTypeExample
iden
The push's unique id.
string—
type
The push type: note, link or file.
string—
active
False once the push has been deleted.
boolean—
dismissed
True once a device dismissed the push.
boolean—
created
Creation time as a Unix timestamp in seconds.
number—
modified
Last-change time as a Unix timestamp in seconds.
number—
title
The push's title, empty when none was set.
string—
body
The push's message body, empty when none was set.
string—
url
The link a type=link push points at.
string—
file_url
The download URL a type=file push points at.
string—
receiver_email
Email address the push was delivered to.
string—
target_device_iden
The device the push was aimed at, when it was one.
string—
{
  "active": false,
  "body": "",
  "created": 0,
  "dismissed": false,
  "file_url": "",
  "iden": "",
  "modified": 0,
  "receiver_email": "",
  "target_device_iden": "",
  "title": "",
  "type": "",
  "url": ""
}

See Push File run in a workflow.

In a technical demo we add the Pushbullet connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.