Skip to content

Conversation

@josephjclark
Copy link
Collaborator

Update collections overview to match latest CLI updates

AI Usage

Please disclose how you've used AI in this work (it's cool, we just want to
know!):

  • Code generation (copilot but not intellisense)
  • Learning or fact checking
  • Strategy / design
  • Optimisation / refactoring
  • Translation / spellchecking / doc gen
  • Other
  • I have not used AI

You can read more details in our
Responsible AI Policy

If you're using a version prior to 1.21.0, you will need to:
- Get a Personal Access Token (PAT)
- Update the `workflow.json` with your PAT and the OpenFn endpoint
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@josephjclark we don't include PAT in workflow.json. We have to pass --endpoint and --api-key

openfn my-workflow.json --api-key $MY_OPENFN_PAT --endpoint $MY_OPENFN_ENDPOINT

- Get a Personal Access Token (PAT)
- Update the `workflow.json` with your PAT and the OpenFn endpoint
- Update the step in the workflow to use the Collections adaptor
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should probably add a simple example

adaptors: [@openfn/language-http@6.5.1, @openfn/language-collections@2.1.1]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

3 participants