If you want to create a zigzag line in Illustrator, there are a few different ways to go about it. The simplest way is to use the Pen tool and draw a series of short, straight lines. Then, select the lines and use the Pathfinder tool to create a zigzag pattern. Alternatively, you can use the Draw Path command (found under the Path menu) to create a zigzag path. First, draw a series of straight lines using the Pen or Line tools. Then, use the Draw Path command to add curves along these lines. Finally, use the Eraser tool to erase any unwanted parts of the path. ..
Illustrator – Zig Zag, RickRack & Wavy Lines
Check out Why Is My Filter Gallery Greyed Out In Photoshop?