we will have a config file which will define the endpoint and its payload so that table works accordingly