Backend workflow to email screenshots to users

Hi Bubblers, I’m struggling with a task that I’m hoping you can help with! I’ve created a dashboard that shows different data depending on which user is logged in. Each week, I’d like to send an email to users with image snapshots of their dashboard. I’ve experimented with several group-to-image screen shot plug-ins, but they only seem to work on the front end. To get this to work on the back end (without users having to log in), I’m guessing I would essentially need to create a backend workflow that loads the dashboard page as each user and then takes the necessary screenshots before emailing them.

I’ve found a plug-in that can do this on the back end as a PDF (the PDF Creator plug-in allows you to load a URL as a given user in a backend workflow and then creates a PDF from the URL). Does anyone know if there’s a plug-in that would allow you to do the same thing but with images instead of PDFs? Or have any ideas for a better way to accomplish this?

Thanks in advance!!

Did you check this?
https://pluginsbyalex.bubbleapps.io/version-test/screenshot-generator

Yes, unfortunately this plugin doesn’t allow running it as a backend workflow, only as a front end workflow when the user is logged in. I’m trying to generate the screen shots on the back end without user interaction. Thanks though!

I see. Let me check what can I do for you.

Thanks! For now, I seem to have this solution working:

  1. I’m using API Flash to grab the screenshots
  2. I’ve created a token for each user stored in their User record
  3. I pass the user token when I call API Flash, and it passes the user token when it calls the bubble URL
  4. I have a front end work flow that checks for the presence of this token in the URL and if present, it loads the dashboard for that user (without them having to log in)
  5. With this working, I should be able to create a back end workflow that executes this for the list of all users.

How does that sound to you?

This topic was automatically closed after 70 days. New replies are no longer allowed.