The Weld by color effect will automatically weld together any overlapping objects that have the same color.
Original Objects
Objects after Weld by Color effect
See Also
Using the Combine Effects
Applying Weld Effect
Applying Cut Out Effect
Applying Remove Overlap Effect
Applying Common Effect
Applying Exclude Common Effect
Applying Fuse Effect
Applying Separate Overlap Effect