Messages · Step
Send text as a file
Post text as a file people can open or download, shown in the message, like a log or a CSV.
layout.file_post
In a flow
“When a button is clicked, send text as a file.”
Export form records → Send text as a file answers.csv.
What it does
Post text as a file people can open or download, shown in the message, like a log or a CSV. It's a step: it runs when the white wire reaches it, then the flow carries on from its Then pin. It gives 1 value later steps can use. Find it under Messages in the palette.
When to use it
Use it when the flow needs to post text as a file people can open or download, shown in the message, like a log or a CSV.
When not to
If nothing should change in Discord, a value node or a check is lighter.
Typical wiring
Sockets: settings you can wire
- Channel Channel
-
Where to post it. Empty is here.
What goes there: Type it in the side panel, or wire in a channel. e.g. #general
If it's empty: Optional. Left empty and unwired, the step runs without it.
Connects fromArchive channelAsk a questionCopy channelCopy permissionsCreate categoryCreate channelCreate forum postCreate threadand 60 more
- Text Text
-
What goes in the file. Variables allowed.
What goes there: Type it in the side panel, or wire in text. e.g. Hello there
If it's empty: Optional. Left empty and unwired, it uses Line one Line two.
Connects fromA member's variablesAccept applicationAdd a Notion pageAdd a Trello cardAdd an emojiAdd to number in objectAdd up timesAdd working daysand 844 more
- File name Text
-
The file's name, like log.txt or data.csv.
What goes there: Type it in the side panel, or wire in text. e.g. Hello there
If it's empty: Optional. Left empty and unwired, it uses notes.txt.
Connects fromA member's variablesAccept applicationAdd a Notion pageAdd a Trello cardAdd an emojiAdd to number in objectAdd up timesAdd working daysand 844 more
- Caption Text
-
A line above the file. Empty is none.
What goes there: Type it in the side panel, or wire in text. e.g. Hello there
If it's empty: Optional. Left empty and unwired, the step runs without it.
Connects fromA member's variablesAccept applicationAdd a Notion pageAdd a Trello cardAdd an emojiAdd to number in objectAdd up timesAdd working daysand 844 more
Values it gives
- Message Message
-
The message it posted, for Edit to layout or Delete message. e.g. a link to the message
If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.
Connects toAttached filesCancel giveawayClear reactionsDelete and warnDelete messageDelete message laterEdit messageEdit to layoutand 577 more