The word we'd is a contraction, a shortened form for 'we would' or 'we had'. The contraction functions as the subject and verb (or auxiliary verb) of a sentence or a clause. Examples:
We would go to the beach each summer. Or, We'd go to the beach each summer.
We rushed off before we had eaten. Or, We rushed off before we'd eaten.
Additional example sentences:
Chat with our AI personalities