Dumb question, but how do these raid events work? I've only done the material exchange ones like the latest Kyuki/Mastema.

Do we just solo/participate in a bunch of raids to accumulate the materials? Then trade the materials for Tiamats?

Or do we use the materials on an event gacha and try to get Tiamats out of it?