You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/references/sdks/web/advanced/index.mdx
+2-2
Original file line number
Diff line number
Diff line change
@@ -85,14 +85,14 @@ See the [`TriggerConfig`](/references/sdks/web/reference/samelogic-js.TriggerCon
85
85
86
86
### Steps
87
87
88
-
Steps are processes that are executed within your workflow. For more detailed information, see [Steps](/workflows/steps).
88
+
Steps are processes that are executed within your workflow. For more detailed information, see [Steps](/steps).
89
89
90
90
Steps contain four main pieces of information:
91
91
92
92
1.`name` - this can be used by dependent steps to determine dependency or used in data mapping.
93
93
2.`needs` - this property determines what step it depends on. It uses a combination of `name` and the name of the `event` that the step exposes.
94
94
3.`uses` - this can be the official name and version of the step or a url to a custom step.
95
-
4.`props` - this is the input of the step. Data can be passed in directly, or mapping information can be passed in. See the [Data Mapping](/workflows/steps/data_mapping) for more details.
95
+
4.`props` - this is the input of the step. Data can be passed in directly, or mapping information can be passed in. See the [Data Mapping](/workflows/data_mapping) for more details.
96
96
97
97
Please refer to the documentation for each step to see what the schema of the `props` are like and what events are exposed.
Copy file name to clipboardExpand all lines: docs/steps/microsurveys/overview.mdx
+2-2
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,10 @@
1
1
---
2
2
id: overview
3
3
title: Microsurvey Overview
4
-
slug: /microsurveys
4
+
slug: /steps/microsurveys
5
5
---
6
6
7
-
Microsurveys is a powerful in-app survey displayed during any user flow or activity to collect contextual feedback sent to any app of your choice.
7
+
Microsurveys is a powerful in-app survey displayed during any user flow or activity to collect contextual feedback sent to any app of your choice. Microsurveys are great for collecting qualitative and quantitative feedback about specific features from users.
Steps are **asynchronous** and long-running processes that are executed within your workflow. Steps can be connected to create complex workflows.
8
+
9
+
The initialization of a step can happen via a trigger or other step events.
10
+
Steps contain events that are fired based on their specification. Please refer to their docs for more details on what events they expose and under what criteria they are fired.
11
+
12
+
:::info
13
+
You can build your custom steps and host them wherever you want.
Webhooks are used to send data to any URL. Data from events can be piped in, serialized, and sent in the form of an HTTP request.
8
+
9
+
The main property that we care about is the `body`. This property is usually mapped to event data that triggered the step. The string is then serialized into a JSON object and sent in the `body` of the http request.
10
+
11
+
We currently recommend using webhooks to send data to a zapier endpoint for starting out. This can be connected to a [Zapier Webhook](https://zapier.com/page/webhooks/).
Copy file name to clipboardExpand all lines: docs/workflows/overview.mdx
+1-4
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,4 @@ Triggers are defined as a list of events that occur in the application to start
12
12
13
13
### Steps
14
14
15
-
Steps are defined as a group of actions that are executed after a workflow is triggered.
16
-
17
-
Steps are **asynchronous**. The initialization of a step can happen via a trigger or other step events.
18
-
Steps contain events that are fired based on their specification. Please refer to their docs for more details on what events they expose and under what criteria they are fired.
15
+
Steps are defined as a group of actions that are executed after a workflow is triggered. Please see [Steps Overview documentation](./steps)
0 commit comments