"finding the general channel without assuming it’s titled general, and lastly finding the SharePoint folder for a channel without assuming folder has same name as channel itself"
This comment below just proves that they either haven't been working on or cant fix the problem where renamed channels in teams doesn't rename the linked SharePoint folder associated with it. This is insane that since Teams has been out (3+ years) there has been major community frustration over this bug (it is a bug and not a feature at all). It has over 11000 votes collectively on both the Teams and SharPoint UserVoice's and yes there might be an update of working on it in February but we had the same back in May last year and still it isn't done. Please vote below.
https://microsoftteams.uservoice.com/forums/555103-public/suggestions/16934143-rename-of-team-channel-doesn-t-rename-associated-s
https://sharepoint.uservoice.com/forums/329214-sites-and-collaboration/suggestions/20029231-make-rename-in-teams-reflect-name-changes-in-share