Workflow Actions - Pub/Sub Inbound and Pub/Sub Outbound
on 06-19-2024 12:00 AM by SnapApp by BlueVector AI
335
Inbound and outbound actions within a Pub/Sub workflow entail receiving and sending data, respectively, enabling seamless communication and supporting event-driven processes. Below are the steps to configure Pub/Sub Inbound and Pub/Sub Outbound actions in your workflow
Workflow Action: Outbound
SnapApp uses PubSub to send outbound record data to a PubSub topic in JSON format. The schema follows a key-value pair structure, mapping field names to record values. Ensure that the service account has publishing permissions for the Outbound PubSub topic. This feature facilitates seamless integration of SnapApp with third-party systems leveraging PubSub as a robust messaging system.
PubSub plays a crucial role in streaming analytics and data integration pipelines, enabling efficient data loading and distribution.
Workflow Action: Inbound
PubSub Inbound action in workflow facilitates real-time event handling, ensuring seamless data flow and integration across systems with precise event-triggered operations.
Table of Contents
Create a Workflow
- Navigate to Settings from the User menu of the top bar.
- Tap on Workflow from the Automation of the left navigation bar.
- Tap on
+ Add New
in the top header of the Actions list view.
- Fill out the required fields and hit
Save
.
Create an Outbound Action Workflow
- Navigate to Settings from the User menu of the top bar.
- Tap on Actions from the Automation of the left navigation bar.
- Tap on
+ Add New
in the top header of the Actions list view.
-
Configure the Outbound Actions settings.
Note: Select Type > Integrations > PubSub Outbound -
Name - Defines the name of the Inbound Action. This is the name used by the application to identify the Action.
- Type - Defines the list of supported actions (Note: for this case, select PubSub Outbound).
- Description - states the description of your pubsub action.
- Pubsub Topic - The name of the PubSub topic to which the data is to be published. The topic name should be in the format of
projects/{project_id}/topics/{topic_name}
The service account must have the permission to publish to the topic. - Workflow Sequence - stores the workflow sequence
- Workflow ID - select the predefined Workflow from the existing workflow list.
- To save the details, tap on
Save
.
Create an Inbound Action Workflow
- Navigate to Settings from the User menu of the top bar.
- Tap on Actions from the Automation of the left navigation bar.
- Tap on + Add New in the top header of the Actions list view.
- Configure the Inbound Actions settings.
- Name - Defines the name of the Inbound Action. This is the name used by the application to identify the Action.
- Description - It allows users to provide a brief description of the Action.
- Type - Defines the list of supported actions (Note: for this case, select PubSub Inbound).
- Pubsub Topic - The name of the PubSub topic from which the data is to be ingested in the format of
projects/{project_id}/topics/{topic_name}
- Workflow Sequence - stores the workflow sequence
-
Workflow ID - select the predefined Workflow from the existing workflow list.
-
To save the details, tap on Save.
Thank you for following these steps to configure your SnapApp components effectively If you have any questions or need further assistance, please don’t hesitate to reach out to our support team. We’re here to help you make the most out of your SnapApp experience.
For support, email us at snapapp@bluevector.ai