Add a Condition. In the Condition Parameters, check that the IsFolder property of the 'When a file is created' action is equal to true. Put your 'Add a row into a table' action in the 'True' branch of the condition.