How to generate resources through the Trade Workshop

How can I create a map, where Trade Workshops generate resources?

I 've been trying with Aftermath, but the map is placed with Rock Churches, not Trade Workshops.

In the buildings tab there are two TW (one of which disappears when I test the scenario).

None of them generates resources.

if its scenario only, using trigger might do it.

when there is 1 trade workshop on map, give player so and so amount of resources etc.

for data mod, compare the tradeworkshop with feitoria and find the difference, its in the bottom of genie editor where tasks are.