Flow reference: Plugins

Convert

Convert currencies (USD → PLN), crypto (BTC → EUR) or units (km → mi, °C → °F, GB → MB). Converter plugin.

Convert currencies (USD → PLN), crypto (BTC → EUR) or units (km → mi, °C → °F, GB → MB). Converter plugin.

When and how to use it

Connect the input from the preceding step on the path that should perform this operation.
Fill the fields with data available in the trigger's context.
Connect the needed outputs; an unconnected path cannot run later blocks.

Configuration fields

Amount — amount


Numeric quantity for this operation. Check the unit in the label; count, money and XP are different quantities.

Input: Text with variable suggestions.

Format example, not a ready value for your server: 100.

Default: {amount}.


From — from


Source currency or unit. Use a supported code and pair it with a compatible target unit.

Input: Text with variable suggestions.

Format example, not a ready value for your server: USD, BTC, km, C….

Default: {from}.


To — to


Target currency or unit. It must be supported and compatible with the source kind.

Input: Text with variable suggestions.

Format example, not a ready value for your server: PLN, EUR, mi, F….

Default: {to}.


Store as — storeAs


Choose a short result prefix such as result. Later blocks must use this same prefix and run after this block. It is not a Discord channel or a persistent table.

Input: Text.

Editor guidance: {conv.text} = "100 USD = 389.93 PLN"; also {conv.result}, {conv.rate}, {conv.error}.

Default: conv.

Outputs and next steps

out: Continue to the next step.
failed: The operation failed; provide a safe error response.

Read the result after this block, using its configured prefix and the fields supported by the selected operation. Do not assume every response has a text or id field.

Test and troubleshoot

Install the corresponding plugin and configure its required accounts, channels and secrets. Test an API read before a write operation. An external-service error is not a reason to recreate the whole bot.

Save, validate and publish. Perform one real test and read the first relevant log error. [Testing](/docs/flow-testing) · [Variables](/docs/flow-variables) · [Permissions](/docs/flow-permissions).