You need to use an file browse tool from the interface tool pallet with the "Generate Field Map for Input Tool" option. Connect to an input tool with a template data set which has a ideal field name information with an Action tool. You can select a file with mapping fields with the fields in the template. Attaching a sample workflow and a template.
hey @Rihan_Mohamed , sorry for the confusion. @Shingo 's explanation would change my workflow into the field map you are looking for. I don't think i had the box checked, but if you make that one change, it should get you what you need. To that point, if your purpose of the macro was to rename/align the fields, you shouldn't need that anymore since that work is being done in the app through the mapping option.