Quick overview
This workflow listens for new La Growth Machine inbox messages, uses OpenAI to draft a context-aware reply based on the lead and recent thread history, and sends the response back via La Growth Machine as a LinkedIn message.
How it works
- Triggers when a new inbox message is received in La Growth Machine.
- Filters the event to only continue when the message is inbound (received from the lead).
- Adds the campaign objective, product context, and tone guidelines used to steer the reply.
- Sends the lead details and recent conversation history to OpenAI to generate the next reply text.
- Sends the generated reply back to the lead through La Growth Machine as a LinkedIn message.
Setup
- Connect your La Growth Machine API credentials and ensure the trigger has access to your inbox messages.
- Add your OpenAI API credentials and confirm the selected model (gpt-4o) is available for your account.
- Replace the placeholder memberId in the send step with your La Growth Machine Member ID (for example, by looking it up in LGM).