Hello, I have a customer that need images to be sent in base64 encode. Did some Gemini search and it gave me the option with a custom app.
base.zip (1.8 KB)
tom app that can be called in a workflow to encode the image into a string. Gemini gave me a manifest and server file but it looks like I need to install SDK and all dev apps. I don’t bother doing that.
Question, can you encode a file using serverless app in a workflow ?
Hi @danielsoderlund,
Yes, you can Base64-encode an image from a Freshservice workflow using a custom app with a workflow action (serverless server.js + actions.json). The workflow passes an image URL (or an attachment URL); the app fetches it and returns the Base64-Encoded Result in the action output.
End users do not install the FDK. A developer builds and installs the custom app once; admins then select that action in the workflow.
The sample from Gemini is not production-ready (old manifest shape, wrong file layout, invalid $request.get). It needs a proper Platform 3.0 app with actions.json, request templates, and fdk pack / install.
Note: Very large images may hit size/timeout limits; confirm downstream max payload. If the target system only needs a link, using the URL directly is often better than Base64.
Best,
Himanshu
Thanks good to know I’m on the right track, I’m not a dev and we don’t have one any longer at our company. We outsourced it.
Customer’s system demands Base64-encode.
I’ll talk to my manager and customer see what they say.