Skip to content
Pastebin

How to use Pastebin

Cost: 1 credit per runTop 100 · #95Full guide

What it is for

Pastebin in flooows lets you create text pastes and read their content. It is handy for sharing logs, code snippets or flow results via a link, or for retrieving text published on Pastebin to process in other steps.

Pastebin has no triggers: it is used as an action inside flows started by other triggers.

Set up the connection

Authentication type: Custom credentials

  1. 1Create a Pastebin account if you do not have one and sign in.
  2. 2Open the API documentation page (pastebin.com/doc_api); your personal developer key is shown there.
  3. 3In flooows, add a Pastebin step, click "Connect" and paste the key into Developer Key.
  4. 4To create private pastes under your account, also fill Username and Password.
  5. 5Save the connection.
Connection fieldTypeRequired
Developer KeySecret keyYes
UsernameTextNo
PasswordSecret keyNo

Credentials are stored encrypted in your isolated database, in Spain, and are never shown in plain text.

How to use it in a flow

  • Create Paste: map Content to text from an earlier step and optionally set Name and Format for syntax highlighting.
  • Choose Privacy (public, unlisted or private) and Expiry so the paste expires.
  • The action returns the paste URL so you can send it by email or chat.
  • Get Paste Content retrieves the text from the Paste ID (the last part of the URL).

Tips

  • •Never put sensitive data in public pastes.
  • •Use a short expiry for temporary information.
  • •Private pastes require username and password in the connection.

Actions (2)

Operations available as flow steps. Expand each one to see its fields.

Create Paste6 fields
FieldTypeRequired
ContentLong textYes
FormatFixed listNo
NameTextNo
PrivacyFixed listNo
ExpiryFixed listNo
FolderTextNo
Get Paste Content1 fields
FieldTypeRequired
Paste IDTextYes

Common errors

Invalid developer key

Copy the key again from the API page.

Cannot create a private paste

Add Username and Password to the connection.

Paste limit reached

Free accounts have daily limits; space out runs.

Field types

"List (from your account)" loads options from your connected account; "Dynamic fields" appear depending on earlier choices; in any field you can insert data from previous steps with the data selector (e.g. {{trigger.email}}). More about data between steps