Quest Accepted via Dialogue

I made a Dialogue-Tree system via a youtuber, ( video attached) Unreal Engine 4 Tutorial - Dialogue System - Part 1 - YouTube

to which I completed. Now I’m doing a questing system, but I can’t figure out how to activate/initiate the quest via the dialogue chosen in the conversation with the NPC.

I’m assuming that there has to be a task made in the behavior/dialogue tree for that specific quest, I just don’t know what code would activate it and send it to the quest log via dialogue.