I’m using the Zapier email parser to zap a scheduled message into a Discord channel daily. The zap works fine except that when it displays the image attachment, it ALSO displays a long zapier url for the image. So it looks horrible.
Any idea how to JUST get the image in discord but not the image url?
Best answer by ForYourIT
So I have tested some things and it looks like it will not be possible to do it without an URL. However, I think you can make it look more beautifull and pretty easily;
Run the Email parser as event
Add another “url shortener by zapier” action
Insert the URL from the attachment you send, and shorten this
Use this shortened URL instead of the long one to send a discord message.
This will look a lot nicer and I think the best way to create this I think. Let me know if this helps you.
It probably depends on where you are pulling this image from, and what kind of events you can use from this action in the Zap. Are you pulling this image from gmail or something?
I am not sure how you have set this up, a screenshot would give some more details. But you could try to insert a formatter action before you post it to discord and use Text → Extract Pattern to use regex to extract the text you want exactly.
It’s straight text and an image attachment. (See below)
I definitely don’t know how to use a formater. Do you recommend one in particular? Would this just be added as an additional step in between the email send and the Discord share?
Can you make a few screenshots on your current Zap workflow? Which steps / apps are you using with what kind of variables? For example, which field are you using for the image file?
There is a “Format by Zapier” action which you can use. This is the most easiest way to format data to something you need.
So I have tested some things and it looks like it will not be possible to do it without an URL. However, I think you can make it look more beautifull and pretty easily;
Run the Email parser as event
Add another “url shortener by zapier” action
Insert the URL from the attachment you send, and shorten this
Use this shortened URL instead of the long one to send a discord message.
This will look a lot nicer and I think the best way to create this I think. Let me know if this helps you.
When you visit any website, it may store or retrieve information on your browser, mostly in the form of cookies. This information might be about you, your preferences or your device and is mostly used to make the site work as you expect it to. The information does not usually directly identify you, but it can give you a more personalized web experience. Because we respect your right to privacy, you can choose not to allow some types of cookies. Click on the different category headings to find out more and change our default settings. However, blocking some types of cookies may impact your experience of the site and the services we are able to offer.
More about cookies
Customize which cookies to allow
Marketing cookies
These cookies may be set through our site by our advertising partners. They may be used by those companies to build a profile of your interests and show you relevant adverts on other sites. They do not store directly personal information, but are based on uniquely identifying your browser and internet device. If you do not allow these cookies, you will experience less targeted advertising.
Social media cookies
label
These cookies are set by a range of social media services that we have added to the site to enable you to share our content with your friends and networks. They are capable of tracking your browser across other sites and building up a profile of your interests. This may impact the content and messages you see on other websites you visit. If you do not allow these cookies you may not be able to use or see these sharing tools.
Analytics/performance cookies
These cookies enable the website to provide enhanced functionality and personalization, and allow us to count visits and traffic sources so we can measure and improve the performance of our site. They help us to know which pages are the most and least popular and see how visitors move around the site. These cookies may be set by us or by third party providers whose services we have added to our pages. If you do not allow these cookies then some or all of these services may not function properly and we will not know how you are using our site.
Functional cookies
label
These cookies enable the website to provide enhanced functionality and personalisation. They may be set by us or by third party providers whose services we have added to our pages. If you do not allow these cookies then some or all of these services may not function properly.
Essential cookies
Always active
These cookies are necessary for the website to function and cannot be switched off in our systems. They are usually only set in response to actions made by you which amount to a request for services, such as setting your privacy preferences, logging in or filling in forms. You can set your browser to block or alert you about these cookies, but some parts of the site will not then work. These cookies do not store any personally identifiable information.