Data privacy notice

 

When this content is loaded, usage information is transmitted to Vimeo and may be processed there.

 

             

Workflow action: Encode Base64

Modified on Thu, 20 Jul, 2023 at 11:05 AM


The action Encode as Base64 allows you to encode a given file into a Base64 string or a data URI.


Paramerter

Encoding settings

File
The file to be encoded.


Action variables

Actions of type Encode as Base64 provide Action variables which can be used in subsequent actions.


Standard action variables

[%$<action name>.SUCCESS%]
Return whether action was successfully executed. Returns Boolean (true/false).
[%$<action name>.RESULT%]
Return all results provided by the action in structured form.
[%$<action name>.ERROR_CODE%]
The error code thrown in case of an error in the action. Empty if no error occurred.
[%$<action name>.ERROR_MESSAGE%]
The thrown error message in the action's error case. Empty if no error occurred.


Action specific action variables

[%$<action name>.RESULT.base64Text%]
The encoded Base64 string.
[%$<action name>.RESULT.base64DataUri%]
The encoded data URI.
[%$<action name>.RESULT.mimeType%]
The media type of the file that was encoded.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article