Workflow/design pattern for allowing user to add multiple fields

Context:

I have a page where a user can select from multiple input sources. Within the selected source(s), they can define multiple source links.

Problem

The way I have currently structured it is as follows:

enter image description here

Now, the "Add source" dropdown hold multiple other options. Each that needs different parameters as input. This causes the form to grow really long especially if the user wants to have multiple source inputs.
Is there a solution for such interactions/ examples of how other applications solve such interactions?