I've created a flow via the template (image attached) that:
1. Gets data from Supabase via API,
2. Merges the data points into HTML,
3. Converts the HTML to PDF,
4. Uploads to storage,
5. Returns the download URL.
All is working fine, except that the PDF doesn't change (in step 3), no matter that the data changes in the HTML (step 2).
I've noticed that the URL doesn't change either, so I assume I'm downloading the same file and the file doesn't get overwritten.
Does anyone have experience with this or know of a workaround?
Thanks in advance!
Martin
11 Replies
TLDR: HTML to PDF doesn't make a change OR the link to the file doesn't change.
hi @Martin, would you mind sharing workflow so we can figure out what the issue is?
sure thing. I'm unsure how to share though?
Can you submit a support request from your workflow?
Yes! I've done that now
Thanks, I'll check it out
Hi @Martin, can you try this one out? This gives a unique filename for the pdfs
Thanks a lot, @Luis. I've tried to load this on an Empty Node, but it doesn't seem to want to compile.
Copying the code into VSCode flags some syntax errors.
I feel like I might be missing something?
@Martin You can copy the code sent by Luis to the workflow to make it work - https://docs.buildship.com/workflow-operations#paste-a-node-or-workflow.
Workflow Operations – BuildShip
A unified resource to start building your backend with low-code. Dive into triggers, nodes, and step-by-step guidance to jumpstart your workflow creation.
@Gaurav Chadha wow, I didn't know you could do that!
Thanks @Luis that worked perfectly!
Awesome, happy to help