Martin
Martin10mo ago

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
No description
11 Replies
Martin
Martin10mo ago
TLDR: HTML to PDF doesn't make a change OR the link to the file doesn't change.
Luis
Luis10mo ago
hi @Martin, would you mind sharing workflow so we can figure out what the issue is?
Martin
Martin10mo ago
sure thing. I'm unsure how to share though?
Luis
Luis10mo ago
Can you submit a support request from your workflow?
No description
Martin
Martin10mo ago
Yes! I've done that now
Luis
Luis10mo ago
Thanks, I'll check it out
Luis
Luis10mo ago
Hi @Martin, can you try this one out? This gives a unique filename for the pdfs
Martin
Martin10mo ago
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?
No description
No description
Gaurav Chadha
Gaurav Chadha10mo ago
@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.
Martin
Martin10mo ago
@Gaurav Chadha wow, I didn't know you could do that! Thanks @Luis that worked perfectly!
Luis
Luis10mo ago
Awesome, happy to help