Actions20
Overview
This node integrates with the OmniFlow API to perform various operations related to marketing and contact management. Specifically, for the Segment Email - Send operation, it sends a predefined segment email through the OmniFlow platform. This is useful in scenarios where you want to automate sending targeted email campaigns to specific segments of your contacts.
Practical examples include:
- Automatically triggering a promotional email to a customer segment after a purchase.
- Sending newsletters or updates to a defined list of contacts.
- Running drip campaigns by sending scheduled emails to segmented audiences.
Properties
Name | Meaning |
---|---|
Authentication | Method used to authenticate with the OmniFlow API. Options: "Credentials" (API key) or "OAuth2". |
Segment Email Name or ID | Select the segment email to send from a dropdown list loaded dynamically from OmniFlow, or specify an ID. |
Output
The output JSON contains the response from the OmniFlow API after attempting to send the segment email. It typically includes details about the email send action, such as status or confirmation data returned by the API.
No binary data output is produced by this operation.
Dependencies
- Requires access to the OmniFlow API.
- Requires either API key credentials or OAuth2 authentication configured in n8n.
- The node uses internal helper functions to make HTTP requests to OmniFlow endpoints.
Troubleshooting
Common issues:
- Invalid or missing authentication credentials will cause API request failures.
- Specifying an invalid or non-existent segment email ID will result in errors.
- Network connectivity issues can prevent successful API calls.
Error messages:
- Errors returned by the OmniFlow API are propagated and may include messages like "Email not found" or "Unauthorized".
- If JSON parameters are malformed (in other operations), the node throws an "Invalid JSON" error.
Resolutions:
- Verify that the authentication credentials are correctly set up and valid.
- Ensure the segment email ID exists and is accessible by the authenticated user.
- Check network connectivity and OmniFlow service status.
Links and References
- OmniFlow API Documentation (hypothetical link as no direct link provided)
- n8n Expressions Documentation
- n8n Credentials Setup