Skip to main content
Question

How do I name a Google Drive image file with a Slack text message?

  • Oct 25, 2023 6:31 PM UTC
  • 11 replies
  • 159 views

I have a zap that will upload an image to Google Drive that is posted to a certain channel within my Slack group. My employees will upload an image with “CUSTOMERNAME JOB####” to the post. Is it possible to have my zap name the image file “CUSTOMERNAME JOB####” when it uploads the file into google drive? 

 

I see the field where I can choose the name of the file, but I do not see a way to select the slack text message as the file name. 

Thank you! 

This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

11 replies

Troy Tessalone
Zapier Orchestrator & Solution Partner
Forum|alt.badge.img+14
  • Zapier Orchestrator & Solution Partner
  • Oct 25, 2023 7:08 PM UTC

Hi @Lilliane 

Good question.

We would need to see screenshot with how your Zap steps are configured.


  • Author
  • New
  • Oct 25, 2023 7:11 PM UTC

Under “File Name” I do not see any data from the post. It just seems to pull in data from the image file that was submitted, which makes sense. 

 

If I change “new file” to “new message” I can see the message that was posted, but I can not upload the image. 


Troy Tessalone
Zapier Orchestrator & Solution Partner
Forum|alt.badge.img+14
  • Zapier Orchestrator & Solution Partner
  • Oct 25, 2023 7:21 PM UTC

@Lilliane 

If the file was submitted as it’s own message in Slack that may be why.


  • Author
  • New
  • Oct 25, 2023 7:27 PM UTC

Here is what is posted into slack. I would love to get the green circled “message” to be the file name (instead of IMG_4374) once it gets uploaded to Google Drive. 


Troy Tessalone
Zapier Orchestrator & Solution Partner
Forum|alt.badge.img+14
  • Zapier Orchestrator & Solution Partner
  • Oct 25, 2023 7:46 PM UTC

@Lilliane 

Try mapping the Text variable.

 


  • Author
  • New
  • Oct 25, 2023 8:20 PM UTC

There is no text variable 


Troy Tessalone
Zapier Orchestrator & Solution Partner
Forum|alt.badge.img+14
  • Zapier Orchestrator & Solution Partner
  • Oct 25, 2023 8:30 PM UTC

@Lilliane 

Can you show screenshots with the data points returned from the Zap step?


  • Author
  • New
  • Oct 25, 2023 8:35 PM UTC

 


  • Author
  • New
  • Oct 25, 2023 8:36 PM UTC

 


Troy Tessalone
Zapier Orchestrator & Solution Partner
Forum|alt.badge.img+14
  • Zapier Orchestrator & Solution Partner
  • Oct 25, 2023 8:50 PM UTC

@Lilliane 

Ah ok, this is where I was getting confused.

The Zap step name and event don’t match.

The Zap trigger for Slack New File will only have info about the file.

 


Troy Tessalone
Zapier Orchestrator & Solution Partner
Forum|alt.badge.img+14
  • Zapier Orchestrator & Solution Partner
  • Oct 25, 2023 8:51 PM UTC

@Lilliane 

You may want to consider setting up a form for people to submit to capture the file and data points in a structured manner.

Maybe even look into Slack Workflows.

https://slack.com/help/articles/17542172840595-Create-a-new-workflow-in-Slack