Help with module flow and setup choices

Hello, I am new here on Make.com but the business I am in is not. First of all thanks to anyone who reads this and your thoughts and feedback is mucha appreciated. After several weeks working on scenarios within Make and Wondrai and running into error messages and spending hours trying to solve them I am reaching out for help. I maybe should have just posted this in “hire a Make developer” section but it is here until someone says get lost and hire someone. I have gotten along way and will continue to educate myself as well as share the end workflow publicly here at Make no matter how it comes to fruition. Here is what I am attempting to do and hitting roadblocks here or there (yes I used AI to generate this but it was from my workflow discussions with it and it summarizing what to do here- and I did in Wondrai but with errors and they have no customer support like here:

 Print On Demand Semi-automated Workflow Process
  1. Monitor Google Sheets for New Entries
  • Module Selection: Choose the “Google Sheets > Watch Rows” module.
  • Configuration: Select your Google Sheets file and the specific sheet you’re interested in. Configure it to monitor new rows in column A, where your prompts are expected to be entered.
  • Outcome: This setup will trigger the rest of your Make scenario whenever a new row is added to column A.
  1. Generate an Image from Text Prompt Using OpenAI
  • Module Selection: Use the “OpenAI > Create Image” module, assuming this is available for generating images based on text prompts.
  • Configuration: Input the text prompt from the newly added Google Sheets row into the OpenAI module. Adjust any other necessary parameters such as style, size, or model (e.g., DALL·E 2) to tailor the image generation.
  • Outcome: OpenAI generates an image based on the prompt, which you can then use in subsequent steps of the workflow.
  1. Compress and Resize the Generated Image
    Since direct image processing might not be fully supported within Make:
    Workaround:
  • Approach: You might need to use a cloud function (AWS Lambda, Google Cloud Functions) that you create for image processing. Alternatively, an external service with an API for image resizing and compression can be used.
  • Module Selection: Utilize the “HTTP > Make a Request” module to call your cloud function or the external service’s API.
  • Configuration: Send the generated image to the service/function for compression. Specify the desired output size (e.g., 100x100 pixels).
  • Outcome: Receive the processed (compressed and resized) image, ready for the next steps.
  1. Upload the Compressed Image to Cloud Storage

Depending on your choice of cloud storage (e.g., Google Drive, Dropbox):

  • Module Selection: Choose the appropriate module for your cloud storage provider, like “Google Drive > Upload a File”.
  • Configuration: Configure the module with the necessary credentials and path details for where you want the image stored. Use the output from the image compression step as the file to upload.
  • Outcome: The image is uploaded to your cloud storage, and you obtain a URL for the uploaded image.
  1. Update Google Sheets with the Image URL and Insert a Checkbox
    To update the Google Sheet with the image URL:
  • Module Selection: Choose “Google Sheets > Update a Row”.
  • Configuration: Use this module to insert the URL of the compressed and uploaded image into the cell adjacent to the original prompt. If directly inserting a checkbox isn’t supported:
    • Workaround: You may need to use a script or a custom API that Make can call to insert a checkbox into the next cell. This could involve using Google Apps Script and triggering it via a webhook or an HTTP request from Make.
  1. Monitor Checkbox for Approval
    This process requires a bit of creativity since Make doesn’t directly monitor cell changes or does it with a module?
  • Approach: Use a Google Apps Script to monitor the checkbox cell for changes and then call a Make webhook when an approval is detected. Alternatively, set up periodic checks with the “Google Sheets > Get a Cell” module to see if the checkbox has been marked.
  • Configuration: Configure the webhook in Make or the periodic check to trigger the next step of your workflow when approval is confirmed.
  1. Upon Approval, Upload Image to Printify
    With Make’s Printify module:
  • Module Selection: Select the appropriate Printify module action, such as “Create a Product” or “Update a Product”.
  • Configuration: Connect your Printify account if not already done. Fill in the product details, using the approved image URL. Specify the product type, size, color, and other relevant details based on your Printify product setup.
  • Outcome: This action creates or updates a product in Printify with the approved image, ready for sale or further action.
  1. Error Handling and Notifications
  • Module Selection: For each critical step in your workflow (especially those involving external APIs like OpenAI, cloud functions for image processing, and interactions with Printify), consider adding error handling logic.
  • Configuration: Use the “Tools > Filter” and “Email > Send an email” modules to check for errors or unexpected responses. If an error is detected, configure the email module to send a notification to your designated address with details about the error and which step it occurred at.
  • Outcome: You’ll be promptly informed about any issues in your workflow, allowing for quick intervention and resolution.
  1. Optimizing the Workflow
  • Batch Processing: If your workflow handles a large volume of entries, investigate whether any of the services you’re using (Google Sheets, OpenAI, Printify) support batch requests. This can reduce the number of API calls and speed up the process.
  • Scheduled Checks vs. Triggers: For parts of your workflow relying on periodic checks (like monitoring for approval), consider the trade-off between reaction time and API usage. More frequent checks mean quicker responses but more API calls.
  • Module Optimization: Regularly review each module’s configuration to ensure it’s using the optimal settings, especially concerning API limits, data transfer sizes, and execution times.
  1. Scalability and Maintenance
  • Scalability: Assess the capacity of each part of your workflow, especially third-party services. Understand the API rate limits and quotas, and consider upgrading your plans or optimizing usage to handle increased load.
  • Maintenance: Set up a regular review schedule for your workflow. This includes checking for any updates or changes to the Make modules, third-party APIs, and ensuring your scripts or cloud functions are running efficiently.
  • Documentation: Keep detailed documentation of your workflow setup, including API keys, module configurations, and custom code. This is invaluable for troubleshooting, making changes, or scaling your operations.

Thanks to each person that responds here.

Welcome to the Make community!

If you need assistance, please provide the following so that others can help:

1. Screenshots of module fields and filters

Please share screenshots of relevant module fields and filters in question? It would really help other community members to see what you’re looking at.

You can upload images here using the Upload icon in the text editor:
Screenshot_2023-10-07_111039

2. Scenario blueprint

Please export the scenario blueprint file to allow others to view the mappings and settings. At the bottom of the scenario editor, you can click on the three dots to find the Export Blueprint menu item.

Screenshot_2023-08-24_230826
(Note: Exporting your scenario will not include private information or keys to your connections)

Uploading it here will look like this:

blueprint.json (12.3 KB)

3. And most importantly, Input/Output bundles

Please provide the input and output bundles of the modules by running the scenario (or get from the scenario History tab), then click the white speech bubble on the top-right of each module and select “Download input/output bundles”.
Screenshot_2023-10-06_141025

A.

Save each bundle contents in your text editor as a bundle.txt file, and upload it here into this discussion thread.

Uploading them here will look like this:

module-1-input-bundle.txt (12.3 KB)
module-1-output-bundle.txt (12.3 KB)

B.

If you are unable to upload files on this forum, alternatively you can paste the formatted bundles in this manner:

  • Either add three backticks ``` before and after the code, like this:

    ```
    input/output bundle content goes here
    ```

  • Or use the format code button in the editor:
    Screenshot_2023-10-02_191027

Providing the input/output bundles will allow others to replicate what is going on in the scenario even if they do not use the external service.

Following these steps will allow others to assist you here. Thanks!

2 Likes

Do you still have any question or is this solved?

Princy Jain
Make consultant,
For consulting support: Follow up Automated

Hi @mddynamics ,

Thanks for sharing the details of your workflow, and welcome to the Make community!

Regarding this point 3, especially when it comes to resizing, cropping, optimizing, and changing image formats, I’d recommend considering using ready-to-use modules like those provided by Picsart. These modules are specifically designed to handle image processing tasks, making the setup much more straightforward compared to manually configuring HTTP requests, which can often be time-consuming and prone to errors.

Using pre-built modules from trusted providers not only simplifies the process but also ensures you’re getting ongoing support—companies like Picsart are more likely to offer help with setup, troubleshooting, and resolving any issues that might come up, which can be a huge advantage when working on more complex scenarios.

Make offers a vast number of apps and modules, so your decision to reach out here was definitely a good one! The platform’s flexibility allows you to easily integrate solutions like Picsart’s modules for image optimization into your workflow, ensuring high-quality results with minimal setup.

If you’d like more guidance or run into any issues while setting things up, feel free to reach out! You can contact apidevsupport@picsart.com or submit a request through our Help Center, and we’ll be happy to assist you.

– The Picsart Team