Skip to content

Commit

Permalink
Merge pull request #560 from OpenFn/adaptors-intro-diagram
Browse files Browse the repository at this point in the history
quick explanation and diagram of workflows v adaptors
  • Loading branch information
aleksa-krolls authored Aug 27, 2024
2 parents 2104701 + 3e98be8 commit e751e23
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 7 deletions.
24 changes: 17 additions & 7 deletions adaptors/intro.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,18 @@ preferred way of communicating about adaptors is as follows:

In short, _most_ adaptors follow the naming convention `@openfn/language-xyz`.

## Where to find them
## Adaptors vs. Workflows

Adaptors are reusable components that make connecting with a specific app
easier, whereas [Workflows](/documentation/get-started/terminology#workflow) are
the project-specific processes that you want to automate. OpenFn users will
always leverage Adaptors to better understand how to work with specific APIs, to
access Adaptor helper functions (or "shortcuts") to more quickly build
Workflows, and to handle authenticatio. See the below diagram.

![workflows-adaptors-compare](/img/workflows-v-adaptors.png)

## Where to find Adaptors

<div>
Here's a list of the {generateList().length} publicly supported OpenFn
Expand Down Expand Up @@ -116,9 +127,9 @@ In short, _most_ adaptors follow the naming convention `@openfn/language-xyz`.

### On OpenFn

When creating or editing a job step, you can choose the adaptor to run
the job. This way you "import" the needed operations. Simply open the dropdown
list of adaptors, and click on one.
When creating or editing a job step, you can choose the adaptor to run the job.
This way you "import" the needed operations. Simply open the dropdown list of
adaptors, and click on one.

<img src="/img/adaptor-picker.webp" />

Expand Down Expand Up @@ -156,6 +167,5 @@ The source code and technical documentation for developing or extending existing
adaptors can be found
[here](https://github.com/OpenFn/adaptors#working-with-adaptors).

:::tip Need Help ?
See the [Get Help](/documentation/get-help/support) page for more information
:::
:::tip Need Help ? See the [Get Help](/documentation/get-help/support) page for
more information :::
Binary file added static/img/workflows-v-adaptors.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit e751e23

Please sign in to comment.