Git Product home page Git Product logo

integration-zapier-typescript's People

Watchers

 avatar

Forkers

jancerman

integration-zapier-typescript's Issues

Content-type snippet elements are not included in a content item response

Brief bug description

When an action returns a content item of a content type that contains a snippet as a result, the elements property is missing all the elements from the snippet.

Repro steps

  1. Create a content-type snippet with some elements.
  2. Add the snippet into a content type and create a content item based on the content type.
  3. Use the "Find content item" action to find the created item.
  4. The "elements" property in the result doesn't contain elements from the content type snippet.

Expected behaviour

The "elements" property should contain elements from the content type snippet.

Test environment

  • Integration version 0.2.0

Cannot create item with url slug

Data posted:

{"element":{"id":"737c85be-f532-c8fe-a308-2a0f2c512f3e"},"value":"espro-press-clone"}

Error:

The URL slug's 'mode' property needs to be defined. The value of the 'mode' property must be either 'autogenerated' or 'custom'.

Display codenames in dropdown when working with taxonomies

Motivation

It would be nice to select codenames of taxonomies instead of searching them in the application.

Proposed solution

Create new dropdown to contain codenames of taxonomies

Additional context

Add any other context, screenshots, or reference links about the feature request here.

Use Sync API for triggers

Motivation

Using the Sync API instead of webhooks can prevent flooding Zapier in projects with lots of changes. https://help.zapier.com/hc/en-us/articles/8496181445261#webhook-throttling-0-3

Proposed solution

Analyze if using the Sync API instead (or along with) webhooks is useful.

Additional context

After a quick look, it seems to use the Sync API (in its current shape) requires Zapier storage. That might lead to a clumsy and complicated usage.
Furthermore, the trigger type would change to 'polling' from 'hook'. That might lead to possible delays in processing changes (depending on the user's Zapier plan), but prevents flooding (as mentioned above), because Zapier would poll with an appropriate interval (depending on the user's Zapier plan).

Filter linked items to contain only allowed types

Motivation

For instance, creating a new content item with some linked items shows content items from all content types. It would be nice to display only content items that are allowed for that element.

Proposed solution

Update the dropdown showing linked items with filtering or create a new one.

Additional context

Add any other context, screenshots, or reference links about the feature request here.

Write real tests

Currently there are no real tests to ensure that the code is working as expected

Unable to source data to test `Variant Workflow Step Changed in Kentico Kontent` trigger

Brief bug description

It's not possible to set up the Variant Workflow Step Changed in Kentico Kontent at Zapier in a project that contains more than 2000 items. It appears the Zap makes a request to https://preview-deliver.kontent.ai/{{PROJECT_ID}}/items and fails with the following error.

The maximum response size of '2001' items was reached. Update your query to limit the response size or use items-feed endpoint. See https://docs.kontent.ai/reference/delivery-api for more details.

Repro steps

  1. Create a new zap using the Variant Workflow Step Changed in Kentico Kontent trigger
  2. Select Variant Workflow Step Changed as the trigger event
  3. Choose an account w/ more than 2000 items
  4. Configure web hook name, workflow steps, language, and content type for samples
  5. Test trigger, see error

Expected behavior

Fetch sample data without failing

Test environment

  • Platform/OS: Zapier

Additional context

The request for sample data should use the items-feed endpoint to avoid the API limitation, apply the filters selected on the Zap to reduce the number of items fetched, or have the ability to exceed the API limits so it doesn't fail to fetch sample data.

This Zap does work as expected on another Project in our account, but I believe that project has been grandfathered in so it can fetch more items from the items endpoint.

I believe this is the call used to get sample data from the WorkflowStatusChanged trigger.

Screenshots

Screen Shot 2021-09-16 at 5 47 53 PM

Update Kontent.ai authentication screen when using integration

Motivation

There were some updates of naming in the product e.g projectId, to environmentId

Proposed solution

Update authentication.ts to have correct information

Additional context

Add any other context, screenshots, or reference links about the feature request here.
image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.