Use the reserved keyword tag robot:flatten. For refference check - https://robotframework.org/robotframework/latest/RobotFrameworkUserGuide.html#flattening-keyword-during-execution-time