/

/

Remove forbidden characters using a Sub-Zap

Remove forbidden characters using a Sub-Zap

Remove forbidden characters using a Sub-Zap

Remove forbidden characters using a Sub-Zap

Remove forbidden characters using a Sub-Zap

Automatically cleans up filenames by removing invalid characters, ensuring your email-to-PDF files save properly without errors.

Automatically cleans up filenames by removing invalid characters, ensuring your email-to-PDF files save properly without errors.

Automatically cleans up filenames by removing invalid characters, ensuring your email-to-PDF files save properly without errors.

APPS:

This Sub-Zap removes forbidden characters (like /{}?.#) from filenames that another zap creates. The other zap uses email parser to grab some specifics from the email, then creates a filename from those specifics, and turns the email into a PDF. The Sub-Zap strips out the forbidden characters. I anticipate using the procedures in the subzap elsewhere, so I made it a Sub-Zap so I could reuse it elsewhere.

Chat GPT helped me write the javascript (strip characters, limit length, append file extension type).