Combine text string to generate unique file names

Hi,
I am exporting images created by chatgpt module to wordpress, using the Wordpress create media module
The problem: in all runs, the system assign automatically the filename “output1.png” as the file name
I need a unique filer name for each run, so new images are uploaded to Wordpress without replacing the first output1.png file.
It is important for me what will be the fine names long it is unique and it is in the proper format, namely with .png extension.
Idea how to do it?

You can select the Map option, and insert this into the file name field:

{{uuid}}.png

This will guarantee unique file names.

4 Likes

perefect!!! thanks alot for this

2 Likes

No problem, glad I could help!

1. If you have a new question in the future, please start a new thread. This makes it easier for others with the same problem to search for the answers to specific questions, and you are more likely to receive help since newer questions are monitored closely.

2. The Make Community guidelines encourages users to try to mark helpful replies as solutions to help keep the Community organized.

This marks the topic as solved, so that:

  • others can save time when catching up with the latest activity here, and
  • allows others to quickly jump to the solution if they come across the same problem

To do this, simply click the checkbox at the bottom of the post that answers your question:
Screenshot_2023-10-04_161049

3. Don’t forget to like and bookmark this topic so you can get back to it easily in future!

2 Likes