Turkish vowel harmony and consonant assimilation govern this choice.
Breakdown of yapıldı:
• yap- (root “do/make”)
• -ıl- (passive marker)
• -dı (simple past tense, 3rd-person singular)
When you combine them you get yap-ıl-dı → yapıldı (“it was done”).
Yes. You’d need a doer/agent: e.g.
• Toplantıda ali teşekkür konuşması yaptı. (“At the meeting, Ali gave the thank-you speech.”)
or, less personal:
• Toplantıda birisi teşekkür konuşması yaptı. (“Someone gave the thank-you speech at the meeting.”)
Add the agent with tarafından (“by”). Example:
Teşekkür konuşması toplantıda müdür tarafından yapıldı.
= “The thank-you speech was given in the meeting by the director.”
You could replace yapıldı with verildi (“was delivered”), which is often used for speeches:
Teşekkür konuşması toplantıda verildi.
Both are acceptable; yapıldı is more general (“was done”), verildi is more specific to “deliver/present.”