Planning Survey Mission and Triggering Camera Automatically

I would like to understand how the camera trigerring process works. My objective is to fly a survey mission, taking images at certain intervals. I have a mavlink compatible camera - I’d like to know how I can trigger the camera automatically to capture images.